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.
Published: 2026-10-19
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the function load_pretrained_params(), which uses torch.load to deserialize checkpoint files without the weights_only=True flag. Because torch.load can evaluate pickle payloads, an attacker who can control a local or URL-supplied checkpoint can embed malcrafted pickle data that executes arbitrary Python code with the privileges of the process loading the checkpoint. This flaw enables an attacker to gain full code‑execution control on the host running the model inference; the risk is significant, as the code runs with the same privileges as the loader, potentially allowing access to sensitive data or further exploitation. The weakness is categorized as CWE‑502.

Affected Systems

Mindee:docTR version 1.1.0 is affected. No other versions or products are listed in the CNA data; therefore, systems running this specific release are the only known impacted ones.

Risk and Exploitability

The CVSS score is 7.7, representing high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting no widespread public exploitation data is known. The likely attack vector involves an attacker supplying a crafted checkpoint file, either via a local file path or a remote URL, to the load_pretrained_params() routine. Exploitation requires that the environment uses a torch release prior to version 2.6, which currently is an open condition for many deployments.

Generated by OpenCVE AI on October 19, 2026 at 17:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched version of docTR or apply vendor-provided fix.
  • Modify the load_pretrained_params implementation to use torch.load with weights_only=True and validate input checkpoints.
  • Restrict checkpoint sources to trusted, authenticated repositories and block remote URLs unless verified.

Generated by OpenCVE AI on October 19, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Mindee
Mindee doctr
Vendors & Products Mindee
Mindee doctr

Mon, 19 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T02:59:45.557Z

Reserved: 2026-10-19T14:14:27.673Z

Link: CVE-2026-112304

cve-icon Vulnrichment

Updated: 2026-10-22T02:59:39.227Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T16:17:06.257

Modified: 2026-10-22T04:17:32.540

Link: CVE-2026-112304

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T16:58:37Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data