CVE-2026-26831: Dbashford Textract

Critical severity, CVSS 9.8. EPSS: 3.6% chance of exploitation in the next 30 days.

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

  • Dbashford Textract: up to and including 2.5.0

Published 2026-03-25. Last modified 2026-06-17.