Read the docs

Unsafe deserialization in docTR lets crafted checkpoints run code

Priority HIGH 69CWE-502Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00368 30th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
MindeedocTRup to 1.1.0—No fix listedCNA
  • docTR VendorMindee Affected up to 1.1.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for docTR.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-19 Threatist record created from CVE-2026-112304
  2. 2026-10-20 Alias added: GHSA-rh68-f334-2256
  3. 2026-10-21 Priority changed: MEDIUM → LOW
  4. 2026-10-22 CISA SSVC decision points changed
  5. 2026-10-22 Priority changed: LOW → HIGH

References

Sources