VULNERABILITY INTELLIGENCE

CVE-2026-26831

CVSS score9.8 CRITICAL
EPSS probability2.51%
CISA KEVNot currently listed
Published2026-03-25
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Weakness classification

  • nvd@nist.gov: CWE-78
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-94

Primary references