CVE-2026-26831
CRITICAL EPSS 82.1%
Published Mar 25, 20263mo ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Mar 25, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago
Description
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
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
82.1% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 2
CWE-78 OS Command Injection Injection
CWE-94 Improper Control of Generation of Code (Code Injection) Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| dbashford | textract | * | ≤2.5.0 |
References 6
- github.com https://github.com/dbashford/textract
- github.com https://github.com/dbashford/textract/blob/master/lib/extractors/doc.js
- github.com https://github.com/dbashford/textract/blob/master/lib/extractors/rtf.js
- github.com https://github.com/dbashford/textract/blob/master/lib/util.js
- github.com https://github.com/zebbernCVE/CVE-2026-26831
- npmjs.com https://www.npmjs.com/package/textract
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.