Skip to content

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

HighCVSS 7.7 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi python-doctr(PyPI) <= 1.1.0 after 1.1.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi python-doctr(PyPI) <= 1.1.0 No fix listed

References