CVE-2026-112304
docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
- State
- Published
- Severity
- 7.7 High
- Published
- Oct 19, 2026
- Updated
- Oct 22, 2026
- Reserved
- Oct 19, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
Affected Products
| Product | Versions |
|---|---|
docTRMindee |
|
References
- https://github.com/mindee/doctr/issues/2175issue-tracking
- https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9epatch
- https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.pytechnical-description
- VulnCheck Advisory: docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.