cvedb.io
CVE-2026-26831
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2026-03-25T16:16:21.123 · Last modified 2026-06-17T10:26:21.513

Summary

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

Does this affect you?

Add your gear to cvedb and we'll alert you only when dbashford ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.