High
docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-112304
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:20 UTC · Revision 1
Source evidence
docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
core-osv · Original sourcePublished 19 Oct 2026, 15:28 UTC
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.
osv:CVE-2026-112304
Complete source record
{
"id": "2359c9de18dcbd35856e816eedf8b1947009171defe4075b654db196bb6cda69",
"url": "https://osv.dev/vulnerability/CVE-2026-112304",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()",
"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.",
"evidence": "osv:CVE-2026-112304",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-112304",
"aliases": [
"CVE-2026-112304"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mindee/doctr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "687503dd15592483c4699ee51280b41938579a9e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"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"
}
}
],
"modified": "2026-10-28T02:30:35.541573514Z",
"provider": "osv",
"references": [
"https://pypi.org",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-112304",
"https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params",
"https://github.com/mindee/doctr/issues/2175",
"https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e",
"https://github.com/mindee/doctr",
"https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py"
],
"provider_metadata": {
"cwe_ids": [
"CWE-502"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json"
}
},
"related_cves": [
{
"value": "CVE-2026-112304",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502984,
"published_at": "2026-10-19T15:28:54.688+00:00"
}