CVE-2026-141343

DLOmix model loading could deserialize attacker-controlled Python objects

Wilhelm Lab · DLOmix PyTorch inference pipeline

First documented disclosure · Review checkpoint

Summary

Loading an untrusted PyTorch inference bundle could execute code during deserialization.

Severity and exploitation evidence

High · 8.5/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed public originals establish a vulnerability or controlled demonstration, not malicious exploitation against users. No exploit, package, model or external proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

InferencePipeline.load used torch.load with weights_only=False to restore whole model objects; from_pretrained could download such a bundle and reach the same loader.

Conditions required

A user or automation loads an attacker-controlled bundle or repository. This issue concerns the PyTorch inference path, not the TensorFlow path.

Potential impact

Arbitrary code executes as the user or service loading the model.

Affected versions and configurations

0.2.8 through versions before 0.4.1, according to the CNA.

Fix and mitigation status

0.4.1 switches the default PyTorch bundle to safetensors plus a model configuration and fixed class registry. Legacy pickle loading remains possible only through an explicit allow_pickle=True opt-in.

Practical next steps

Upgrade to 0.4.1 or later, use the safe bundle format and avoid the legacy pickle opt-in for untrusted models.

Operating lesson

Model distribution is a software supply-chain boundary; safe defaults must survive convenience download APIs.

Evidence and limits

Issue110 opened November 30 and includes a controlled demonstration. The maintainer confirmed it December 1; PR111 and the v0.4.1 loader were inspected, and PyPI confirms package publication December 1. The maintainer did not identify public affected PyTorch model repositories, which is not proof that none exist. The displayed CVSS 4.0 8.5 is the VulnCheck CNA assessment.

Sources