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
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26831.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0"
},
{
"last_affected": "2.5.0"
}
],
"cpe": "cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:*",
"source": [
"DESCRIPTION",
"CPE_RANGE"
]
}