{"cve":"CVE-2026-26831","nvd":{"published":"2026-03-25T16:16:21.123","modified":"2026-06-17T10:26:21.513","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78","CWE-94"],"references":["https://github.com/dbashford/textract","https://github.com/dbashford/textract/blob/master/lib/extractors/doc.js","https://github.com/dbashford/textract/blob/master/lib/extractors/rtf.js","https://github.com/dbashford/textract/blob/master/lib/util.js","https://github.com/zebbernCVE/CVE-2026-26831"],"products":["dbashford:textract"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-26831","score":0.02515,"percentile":0.84811,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9pcj-m5rr-p28g","url":"https://osv.dev/vulnerability/GHSA-9pcj-m5rr-p28g","summary":"textract is vulnerable to OS Command Injection","modified":"2026-03-31T23:41:23.581167Z","packages":[{"ecosystem":"npm","name":"textract","purl":"pkg:npm/textract","ranges":["<=2.5.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}