Ad

CVE-2026-26831

CRITICAL CVSS 3.1: 9.8 EPSS 0.44%
Updated Mar 30, 2026
Dbashford
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 2.5.0
Type CWE-78 (OS Command Injection), CWE-94 (Code Injection)
Vendor Dbashford
Public PoC No

textract through 2.5.0 is vulnerable to OS Command Injection via the file path parameter in multiple extractors. When processing files with malicious filenames, the filePath is passed directly to child_process.exec() in lib/extractors/doc.js, rtf.js, dxf.js, images.js, and lib/util.js with inadequate sanitization

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Dbashford Textract
cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:*
<= 2.5.0