CVE-2026-112304
docTR through 1.1.0 contains an unsafe deserialization …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py
- github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e
- github.com/mindee/doctr/issues/2175
- www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretr
- nvd.nist.gov/vuln/detail/CVE-2026-112304
- cve.org/CVERecord?id=CVE-2026-112304
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.