A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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
Affected products
From the NVD's configuration data (CPE), vendor first.
- Dbashford textract
Weakness type
References
- github.com /dbashford/textract
- github.com /dbashford/textract/blob/master/lib/extractors/doc.js
- github.com /dbashford/textract/blob/master/lib/extractors/rtf.js
- github.com /dbashford/textract/blob/master/lib/util.js
- github.com /zebbernCVE/CVE-2026-26831
- www.npmjs.com /package/textract
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning