---
id: CVE-2026-112304
title: docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()
summary: >-
  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 malic…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-502
vendor: Mindee
product: docTR
affected:
  - docTR <= 1.1.0
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T15:28:54.688Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112304'
references:
  - url: 'https://github.com/mindee/doctr/issues/2175'
  - url: >-
      https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e
  - url: 'https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py'
  - url: >-
      https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params
    label: >-
      VulnCheck Advisory: docTR through 1.1.0 Unsafe Deserialization RCE via
      load_pretrained_params()
tags:
  - cve.org
ingestedAt: '2026-10-19T16:32:30.082Z'
---

## Overview

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.

## Affected

- `docTR <= 1.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
