Unsafe deserialization in docTR lets crafted checkpoints run code
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
docTR through 1.1.0 by Mindee contains unsafe deserialization (CWE-502) in load_pretrained_params(), which loads checkpoints with torch.load without weights_only=True. An attacker who controls a local or URL-supplied checkpoint can embed a malicious pickle payload that runs Python code with the privileges of the loading process on torch releases before 2.6.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for docTR.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-19 Threatist record created from CVE-2026-112304
- 2026-10-20 Alias added: GHSA-rh68-f334-2256
- 2026-10-21 Priority changed: MEDIUM → LOW
- 2026-10-22 CISA SSVC decision points changed
- 2026-10-22 Priority changed: LOW → HIGH
References
Sources
- CVE-2026-112304 · CVE Program
- CVE-2026-112304 · NVD
- FIRST EPSS
- GHSA-rh68-f334-2256 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences