DLOmix 0.2.8 before 0.4.1 contains an unsafe deserialization vulnerability that allows attackers to execute code by supplying malicious PyTorch model files to InferencePipeline.load. Attackers can publish a crafted model.pt in a Hugging Face Hub repository loaded via from_pretrained, triggering torch.load with weights_only=False to run code with the user's privileges.
https://github.com/wilhelm-lab/dlomix/issues/110
https://github.com/wilhelm-lab/dlomix/commit/7d96709b90428570e3082c35a26a438fa8bf6a76
https://github.com/wilhelm-lab/dlomix/blob/v0.4.0/src/dlomix/pipelines/predictor.py#L195