{"id":"CVE-2026-26831","published":"2026-03-25T00:00:00Z","modified":"2026-03-28T01:12:59Z","title":"textract through 2.5.0 is vulnerable to OS Command Injection via the file path parameter in multiple extractors","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04118,"percentile":0.91549,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.npmjs.com/package/textract","tags":[]},{"url":"https://github.com/dbashford/textract","tags":[]},{"url":"https://github.com/dbashford/textract/blob/master/lib/extractors/doc.js","tags":[]},{"url":"https://github.com/dbashford/textract/blob/master/lib/extractors/rtf.js","tags":[]},{"url":"https://github.com/dbashford/textract/blob/master/lib/util.js","tags":[]},{"url":"https://github.com/zebbernCVE/CVE-2026-26831","tags":[]}],"priority":{"score":30.2,"factors":[{"name":"EPSS percentile","points":18.31},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-24","earliestUrl":"https://github.com/zebbernCVE/CVE-2026-26831","repos":[{"name":"zebbernCVE/CVE-2026-26831","url":"https://github.com/zebbernCVE/CVE-2026-26831","stars":0,"created":"2026-03-24"}]},"first":{"date":"2026-03-24","source":"PoC-in-GitHub","url":"https://github.com/zebbernCVE/CVE-2026-26831"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-28T01:11:51.578510Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"textract","vulnerableRanges":["<=2.5.0"],"patched":[],"from":["GHSA-9pcj-m5rr-p28g"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-15459","exploited":false,"provenance":"source"}}