Description
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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-502 — Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mindee | docTR | 0 to <=1.1.0 [affected] |
References
- https://github.com/mindee/doctr/issues/2175 (issue-tracking)
- https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e (patch)
- https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py (technical-description)
- https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 20 Oct 2026 07:03 UTC.