{"id":"CVE-2026-112304","summary":"docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()","details":"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.","modified":"2026-10-21T02:55:54.697725231Z","published":"2026-10-19T15:28:54.688Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json"},{"type":"PACKAGE","url":"https://github.com/mindee/doctr"},{"type":"ARTICLE","url":"https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py"},{"type":"FIX","url":"https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e"},{"type":"REPORT","url":"https://github.com/mindee/doctr/issues/2175"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112304"},{"type":"WEB","url":"https://pypi.org"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindee/doctr","events":[{"introduced":"0"},{"last_affected":"2d8e244bd051634704ed9e69a70dd975ce166c78"},{"fixed":"687503dd15592483c4699ee51280b41938579a9e"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.1.0"}]},{"range":[{"fixed":"687503dd15592483c4699ee51280b41938579a9e"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.1.0","v1.0.1","v1.0.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.4.1","v0.5.1","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.1","v0.1.0","v0.1-models"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112304.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}