Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-26831: n/a

0
Critical
VulnerabilityCVE-2026-26831cvecve-2026-26831
Published: Wed Mar 25 2026 (03/25/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

The textract library through version 2. 5. 0 contains a critical OS command injection vulnerability (CVE-2026-26831). This flaw arises because the file path parameter in multiple extractors is passed directly to child_process. exec() without proper sanitization. This affects several modules including doc. js, rtf. js, dxf. js, images. js, and util.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/03/2026, 13:16:57 UTC

Technical Analysis

CVE-2026-26831 is an OS command injection vulnerability in the textract library up to version 2.5.0. The issue occurs because the filePath parameter, which can be influenced by malicious filenames, is passed unsanitized to child_process.exec() in multiple extractor modules (lib/extractors/doc.js, rtf.js, dxf.js, images.js, and lib/util.js). This allows remote attackers to execute arbitrary commands on the host system. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code). The CVSS v3.1 base score is 9.8 (Critical), with network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. There is no known exploit in the wild and no vendor patch or advisory currently available.

Potential Impact

Successful exploitation of this vulnerability could lead to full compromise of the affected system, including arbitrary code execution with the privileges of the application running textract. This impacts confidentiality, integrity, and availability of the system. The vulnerability is remotely exploitable without authentication or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing files with untrusted or potentially malicious filenames using affected versions of textract. Consider implementing external controls such as sandboxing or restricting execution permissions for processes running textract to limit potential damage.

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
mitre
Date Reserved
2026-02-16T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69c40a67f4197a8e3b699a4e

Added to database: 3/25/2026, 4:16:39 PM

Last enriched: 4/3/2026, 1:16:57 PM

Last updated: 5/9/2026, 3:03:14 AM

Views: 76

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