Skip to main content
← All vulnerabilities
CVE-2026-112304

docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • Mindee docTR

    through 1.1.0

References 4

GitHub · mindee/doctr

vulncheck.com