CVE Catalog

CVE-2026-112304

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

20th percentile - higher than 20% of all known CVEs

Summary

docTR through 1.1.0 contains an unsafe deserialization vulnerability in load_pretrained_params() that loads checkpoints with torch.load without weights_only=True. Attackers who control a local or URL-supplied checkpoint can embed a malicious pickle payload to execute Python code with the loading process's privileges on torch releases before 2.6.

Risk Assessment

Arbitrary Python code execution is possible in the context of an application loading untrusted models, potentially leading to system takeover and data leakage. The risk applies to environments using docTR with untrusted checkpoints.

Recommendation

Update docTR to a version later than 1.1.0 if available, or use torch version 2.6 or later with weights_only=True. Load checkpoints only from trusted sources.

Related vulnerabilities

Original NVD description (English source)

docTR through 1.1.0 contains an unsafe deserialization vulnerability in load_pretrained_params() that loads checkpoints with torch.load without weights_only=True. Attackers who control a local or URL-supplied checkpoint can embed a malicious pickle payload to execute Python code with the loading process's privileges on torch releases before 2.6.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS