---
title: "CVE-2026-112304: docTR - Insecure Deserialization"
description: "docTR <= 1.1.0 contains an insecure deserialization vulnerability caused by loading checkpoints with torch.load without weights_only=True, letting attackers with control over checkpoint files execute arbitrary Python code, exploit requires attacker to supply malicious checkpoint."
url: https://panop.io/threat-heartbeat/CVE-2026-112304/
---

# CVE-2026-112304 docTR - Insecure Deserialization

docTR <= 1.1.0 contains an insecure deserialization vulnerability caused by loading checkpoints with torch.load without weights\_only=True, letting attackers with control over checkpoint files execute arbitrary Python code, exploit requires attacker to supply malicious checkpoint.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-112304)

## Details

Type

Insecure Deserialization

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

19 October 2026

Updated

20 October 2026

Weakness

[CWE-502](https://cwe.mitre.org/data/definitions/502.html)

## Vendor fix

Upgrade torch to version 2.6 or later and ensure weights\_only=True is used when loading checkpoints.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-112304](https://nvd.nist.gov/vuln/detail/CVE-2026-112304)
- [https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py](https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py)
- [https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e](https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e)
- [https://github.com/mindee/doctr/issues/2175](https://github.com/mindee/doctr/issues/2175)
- [https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params](https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
