Skip to main content

OneCompression CVE-2026-73325

| EUVDEUVD-2026-57313 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-08-12 VulnCheck GHSA-f3q7-jj9x-2wjr
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stage malicious .pt checkpoint with __reduce__ payload
  2. Delivery
    Deliver file to target model directory
  3. Exploit
    Victim or pipeline calls load_quantized_model_pt()
  4. Execution
    torch.load invokes pickle with weights_only=False
  5. Persist
    __reduce__ executes arbitrary Python code
  6. Impact
    Attacker achieves OS command execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target environment has onecomp version 1.2.0 installed and that application code calls QuantizedModelLoader.load_quantized_model_pt() with a path that resolves to an attacker-controlled .pt checkpoint file. The CVSS UI:A metric confirms that a user or automated process must actively invoke the load operation - passive exploitation without triggering the load is not possible. The AV:L metric indicates the malicious checkpoint file must be present on the local filesystem at load time; the attacker must therefore first stage the file via download, supply-chain substitution, or social engineering. PR:N confirms no elevated privileges are needed to craft or deliver the malicious file. Exploitation is limited to environments that: (1) run the specific affected version 1.2.0, (2) load model checkpoints from sources not under strict integrity control, and (3) have not patched to 1.2.1. Default-safe PyTorch configurations (weights_only=True) are bypassed because OneCompression hardcodes the unsafe flag regardless of caller intent.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) scores 8.4 and accurately reflects the realistic exploitation scenario: the attacker does not need any network-level access or privileges, but the victim must actively load a malicious checkpoint file (UI:A), and the malicious file must reach the target filesystem (AV:L). This is a model-poisoning or supply-chain attack pattern common in MLOps pipelines, where model files are routinely downloaded from public registries, shared repositories, or third-party sources. The impact metrics (VC:H/VI:H/VA:H) reflect full RCE within the process. There is no KEV listing and no EPSS score was provided in the input data, so real-world exploitation frequency cannot be quantified. The niche footprint of the onecomp library limits blast radius relative to ubiquitous ML frameworks, but pipelines that automate checkpoint loading without provenance verification are genuinely at risk. No conflicting signals between CVSS vector and description were identified.

Exploit ScenarioDerived

An attacker crafts a malicious .pt checkpoint file containing a Python class with a __reduce__ method that spawns a reverse shell or exfiltrates environment variables when unpickled. The file is uploaded to a shared model repository or delivered via a compromised model source, and a victim data scientist or automated ML pipeline invokes QuantizedModelLoader.load_quantized_model_pt() pointing to the attacker-controlled path - triggering code execution in the process context with whatever privileges the loading application holds. No public proof-of-concept code has been identified, but this class of attack is well-documented in the PyTorch ecosystem and requires no specialized tooling beyond Python's built-in pickle module.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Arbitrary code execution in Fujitsu Research's OneCompression (onecomp) Python library 1.2.0 is triggered when a victim loads a crafted PyTorch checkpoint file via the library's QuantizedModelLoader API, which unconditionally invokes Python's pickle machinery. The root cause is the hardcoded use of torch.load with weights_only=False in load_quantized_model_pt(), allowing an attacker-supplied checkpoint to embed malicious __reduce__ methods that execute arbitrary Python - including OS commands - in the context of the loading process. No public exploit code has been identified at time of analysis, though a patched version (1.2.1) is available on PyPI per the VulnCheck advisory.

RemediationAI

Upgrade the onecomp package to version 1.2.1 immediately via pip install --upgrade onecomp; this is the vendor-released patch confirmed on PyPI at https://pypi.org/project/onecomp/1.2.1/. If an immediate upgrade is not feasible, the specific compensating control is to avoid calling load_quantized_model_pt() with any checkpoint file sourced from an untrusted or unverified origin - restrict model loading to files with a verified cryptographic signature or hash checked against a trusted manifest before the load call. As an alternative workaround in code, callers can monkey-patch or wrap the loader to intercept the torch.load call and enforce weights_only=True, though this may break loading of models that include non-tensor objects and requires testing for compatibility. Do not rely on filesystem permissions alone, as the vulnerability is in the deserialization of the file content, not file access control.

Affected VersionsENISA

OneCompression 0 ≤1.2.0

Affected Packages

euvd onecompression no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PyTorch's torch.load function supports two deserialization modes: weights_only=True (safe, restricts unpickling to tensor primitives) and weights_only=False (unsafe, invokes Python's full pickle machinery). PyTorch deprecated and then restricted the unsafe mode precisely because .pt/.pth checkpoint files are serialized Python objects, and pickle's __reduce__ protocol allows arbitrary class instantiation and code execution at deserialization time. The affected component, QuantizedModelLoader.load_quantized_model_pt() in cpe:2.3:a:fujitsu_research:onecompression:*:*:*:*:*:*:*:* version 1.2.0, hardcodes weights_only=False, meaning any caller passing an untrusted checkpoint path exposes the process to full code execution. CWE-502 (Deserialization of Untrusted Data) precisely captures this class: the application trusts the structure and content of a serialized object from an untrusted source without validation.

Know when Onecompression gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.4 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

AV:L because malicious file must be on local filesystem; UI:R because victim must invoke the load; PR:N as no privileges needed to craft payload; S:U as no scope change per CVSS 4.0 SC/SI/SA all N.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Fujitsu Research's OneCompression library 1.2.0 contains an unsafe deserialization vulnerability that allows attackers to execute arbitrary code by supplying a crafted model.pt checkpoint file, as QuantizedModelLoader.load_quantized_model_pt() unconditionally calls torch.load with weights_only=False, invoking Python's pickle machinery during deserialization. Attackers can embed malicious __reduce__ methods in a crafted model checkpoint to execute arbitrary Python code, including system commands, when the library loads the file from a caller-selected model directory.

Executive ViewAI

Why It Matters

Fujitsu Research's OneCompression Python library version 1.2.0 contains a critical arbitrary code execution vulnerability that allows attackers to execute malicious commands when organization members load compromised PyTorch checkpoint files. Any team using this library to process model files-including data science, ML engineering, or AI development teams-faces direct risk of system compromise and data exfiltration.

Business Impact: High
Compensating Controls

Apply vendor patch (OneCompression version 1.2.1 or later). Interim: restrict checkpoint file loading to internally-controlled, pre-approved model sources only; disable automated downloads from external repositories until patching is complete.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche ML compression library, limited PyPI adoption footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy