DLOmix can run attacker code when loading model files

High 8.5SE Fix-First Score 47/100CVE-2026-141343SE-AIV-01908Unsafe loading of model or data filesModels and ML frameworksMade public 1 Dec 2026

Download as PDF

What this means

An attacker can run code on your system with the same permissions as the person or service running DLOmix. If you download and load a model from an untrusted source—especially from a public repository—the attacker can steal data, install malware, or take over the system.

SecurityElites Manager Brief: the decision in one minute

DLOmix loads PyTorch model files in an unsafe way that lets attackers run code. If your team uses DLOmix to load models from public repositories or untrusted sources, an attacker can compromise your system. Update to version 0.4.1 immediately.

SecurityElites Fix-First Score47 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixMachine learning or data science engineering team.
Likely effortAbout 15 minutes per installation: update the package and restart any services using DLOmix. Identifying all places it is installed may take longer if you have many deployments.

Questions to ask your team or supplier

  • Which external or public model repositories do we load models from, and how do we verify they are safe before loading them?
  • Do we have a process to review and approve model files before they are used in production, and do we test them in isolation first?
  • Who has access to systems running DLOmix, and what permissions do those processes have—can we limit them to reduce the blast radius of a compromise?

Message you can forward to the owning team

Security notice: DLOmix can run attacker code when loading model files (CVE-2026-141343)

Severity: High (8.5 of 10)
SecurityElites Fix-First Score: 47 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to DLOmix 0.4.1 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-141343-dlomix-can-run-attacker-code-when-loading-model-files/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01908

What is at stake in your AI setup

  • Model files: attackers can replace or poison models loaded from public repositories.
  • Compute resources: attackers can use your systems to train, fine-tune, or run models for their own purposes.
  • API keys and credentials: if DLOmix processes are authenticated to AI platforms or model registries, those credentials could be stolen.
  • Training or retrieval data: if DLOmix has access to your internal datasets, an attacker could extract or corrupt them.

Map where your company uses AI

Who is exposed

  • Teams loading models from Hugging Face Hub or other public repositories with DLOmix 0.2.8 through 0.4.0.
  • Services that accept model file uploads from users or external sources and load them with DLOmix.
  • Development environments where researchers use DLOmix to experiment with shared or downloaded models.
  • Automated pipelines that download and load models without manual review.

Upgrades you need

SoftwareAffected versionsMove to
wilhelm-lab DLOmix0.2.8 up to, but not including, 0.4.10.4.1 or later

The fixed version here was taken from the vendor's own CVE record, because the national database has not listed it yet.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedWorking attack code is public, so expect attacks to follow
Where the attacker must beAlready on the machine, or able to get a user to open something on it
Account neededNone. No login is needed
Does a person have to do somethingYes, a small ordinary action by a user
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedHigh
Risk of: the service being taken downHigh
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsTotal control of the affected software, according to CISA

Read from the official severity rating: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Kind of coding mistake

  • CWE-502: untrusted data is loaded as objects

Where it sits in the standards

OWASP Top 10 for LLM Applications 2025: LLM03 Supply Chain (unsafe model and data files)

If you cannot upgrade today

  • Temporarily, only load model files from sources you control and have reviewed the code for. Do not load models from public Hugging Face repositories or user uploads.
  • If you must load external models, download them first to an isolated system, inspect them with security tools if available, and manually verify the contents before moving to your production environment.
  • Restrict permissions on systems running DLOmix so that even if code is executed, the damage is limited to that account or container.

Signs it may already have been used against you

  • Check for processes running Python with DLOmix imported and model files being loaded from external sources in the past three months.
  • Look for unusual child processes spawned by Python during or shortly after model loading operations.
  • Monitor for unexpected outbound network connections or file writes from services running DLOmix.
  • Search for model.pt or similar PyTorch files downloaded from public repositories and then loaded on internal systems.

SecurityElites Fix Guide: step by step

  1. Find where DLOmix is installedSearch your code repositories, deployment configurations, and requirements files for `dlomix` or `wilhelm-lab`. Check all production systems, development machines, and CI/CD pipelines. List the hostname and version of each installation.
  2. Check the current DLOmix versionOn each system where DLOmix runs, execute `pip show dlomix` and record the version number. Note which installations are version 0.2.8 through 0.4.0 (these are at risk).
  3. Review model sources used in the past three monthsCheck logs or code for which models were loaded with `InferencePipeline.load` or `from_pretrained`. Note the source—especially any from public repositories, user uploads, or external partners. This helps identify if an attack may have already occurred.
  4. Back up or document the system state before upgradeTake a snapshot or backup of affected systems in case you need to investigate logs or recover data. Record the current version and any recent model files that were loaded.
  5. Upgrade DLOmix to version 0.4.1 or laterUse your package manager to upgrade: `pip install --upgrade dlomix>=0.4.1`. If you pin versions in a requirements file, update it to `dlomix>=0.4.1` and reinstall in all environments (development, testing, production).
  6. Restart services that use DLOmixStop and start any applications, notebooks, or services that load models with DLOmix. This ensures the new version is in use. Verify there are no errors in the application logs after restart.
  7. Confirm the fix is in placeRun `pip show dlomix` again and verify the version is 0.4.1 or higher. Check that your application or service starts without errors and can load a test model from a trusted source.
  8. If you loaded untrusted models before the fix, investigateReview logs and system activity for the time window when you loaded models from public repositories or external sources. Look for unusual processes, outbound connections, or file changes. Consider running malware scans on affected systems and rotating any credentials that could have been accessed.

How to confirm it is fixed: Confirm that all systems running DLOmix show version 0.4.1 or later when you run `pip show dlomix`.

SecurityElites Quick Fixes: copy and paste

Check installed DLOmix versionfor this issue

pip show dlomix

Search for DLOmix in requirements filesfor this issue

grep -r "dlomix" . --include="*.txt" --include="*.cfg" --include="*.toml" --include="*.yaml" --include="*.yml"

Load PyTorch weights without running codegeneral hardening

import torch
state = torch.load("model.pt", weights_only=True)

Load safetensors weightsgeneral hardening

from safetensors.torch import load_file
state = load_file("model.safetensors")

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-141343) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - DLOmix: must be 0.4.1 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What is the difference between the affected and fixed versions of DLOmix, and why does the fix matter?A good answer: Versions 0.2.8 through 0.4.0 load PyTorch model files unsafely, letting attackers run code; version 0.4.1 and later fixes this by loading model files safely.
What is the main way an attacker would exploit this vulnerability?A good answer: An attacker publishes a crafted model file on a public repository like Hugging Face Hub; when your code loads it with DLOmix, the attacker's code runs with your system's permissions.
What should we do if we loaded models from public sources before updating to 0.4.1?A good answer: Review logs to identify which models were loaded, from where, and when; check the systems for signs of compromise like unusual processes or outbound connections; consider rotating credentials and running malware scans.
What can we do right now if we cannot upgrade DLOmix immediately?A good answer: Only load model files from sources you fully trust and control; download and inspect files on an isolated system before moving them to production; and limit the permissions of processes running DLOmix.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## DLOmix can run attacker code when loading model files (CVE-2026-141343)

**Severity:** High 8.5  |  **SE Fix-First Score:** 47/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01908 https://securityelites.com/ai-vulnerabilities/cve-2026-141343-dlomix-can-run-attacker-code-when-loading-model-files/

### Why this matters
An attacker can run code on your system with the same permissions as the person or service running DLOmix. If you download and load a model from an untrusted source—especially from a public repository—the attacker can steal data, install malware, or take over the system.

### What to do
1. Find where DLOmix is installed
2. Check the current DLOmix version
3. Review model sources used in the past three months
4. Back up or document the system state before upgrade
5. Upgrade DLOmix to version 0.4.1 or later
6. Restart services that use DLOmix
7. Confirm the fix is in place
8. If you loaded untrusted models before the fix, investigate

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-141343-dlomix-can-run-attacker-code-when-loading-model-files/

### Done when
- [ ] DLOmix is at 0.4.1 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that all systems running DLOmix show version 0.4.1 or later when you run `pip show dlomix`.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 1 Dec 2026: Made public
  • 1 Dec 2026: Fixed version added, from the vendor's own CVE record
  • 1 Dec 2026: Published
  • 2 Dec 2026: Guide updated

Official record

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.

Weakness type: CWE-502

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-141343

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.