Skip to main content

CVE-2026-112304: Deserialization of Untrusted Data in Mindee docTR

0
High
VulnerabilityCVE-2026-112304cvecve-2026-112304
Published: 10/19/2026 (10/19/2026, 15:28:54 UTC)
Source: CVE Database V5
Vendor/Project: Mindee
Product: docTR

Description

Mindee docTR versions up to 1.1.0 have an unsafe deserialization vulnerability in the load_pretrained_params() function. This function uses torch.load without the weights_only=True parameter, allowing attackers who can supply a local or URL checkpoint to embed malicious pickle payloads. Exploitation can lead to arbitrary Python code execution with the privileges of the loading process on torch versions before 2.6. The vulnerability has a high severity rating with a CVSS 4.0 score of 7.7.

CVSS v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Mindee

docTR

Affected versions
>=0 <=1.1.0
docTR
pkg:pypi/docTR
Affected versions
>=0 <=1.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/19/2026, 16:03:34 UTC

Technical Analysis

The vulnerability in Mindee docTR (<=1.1.0) arises from unsafe deserialization in the load_pretrained_params() function, which loads model checkpoints using torch.load without restricting to weights_only=True. This allows an attacker controlling the checkpoint source (local or URL) to craft a malicious pickle payload that executes arbitrary Python code during the loading process. The issue affects torch releases prior to version 2.6, where this unsafe loading behavior exists. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows remote or local attackers who can supply a malicious checkpoint file to execute arbitrary Python code with the privileges of the process loading the checkpoint. This can lead to full compromise of the application environment running docTR. The vulnerability impacts confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

No explicit patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid loading checkpoints from untrusted or unauthenticated sources. Consider upgrading torch to version 2.6 or later, where the unsafe deserialization behavior is addressed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-19T14:14:27.673Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad63bfb2cdf04f65667d8ac

Added to database: 10/19/2026, 15:49:15 UTC

Last enriched: 10/19/2026, 16:03:34 UTC

Last updated: 10/19/2026, 19:06:47 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses