CVE-2026-26831

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
25/03/2026
Last modified:
30/03/2026

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:* 2.5.0 (including)