CVE-2026-26831

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-03-25 16:16

Updated : 2026-06-17 10:26


NVD link : CVE-2026-26831

Mitre link : CVE-2026-26831

CVE.ORG link : CVE-2026-26831


JSON object : View

Products Affected

dbashford

  • textract
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-94

Improper Control of Generation of Code ('Code Injection')