7.5High

CVE-2026-112304docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()

Mindee docTR Published: (1 month ago)

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.

Weakness (CWE): CWE-502

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Mindee docTR ≤ 1.1.0

References and patches