7.5Alta
CVE-2026-112304docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
Descripción
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.
Debilidad (CWE):
CWE-502
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
Referencias y parches
- https://github.com/mindee/doctr/issues/2175 issue-tracking
- https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e patch
- https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py technical-description
- VulnCheck Advisory: docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params() third-party-advisory