Read the docs
TI-2026-21396 Aliases CVE-2026-26831GHSA-9pcj-m5rr-p28g

textract through 2.5.0 is vulnerable to OS Command Injection via the file path parameter…

Priority HIGH 82CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02515 84th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—textract (npm)up to 2.5.0—No fix listedGHSA-9pcj-m5rr-p28g
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • textract (npm) Vendor— Affected up to 2.5.0 Fixed in — No fix listed GHSA-9pcj-m5rr-p28g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:*up to 2.5.0VulnerableDbashford
  • cpe:2.3:a:dbashford:textract:*:*:*:*:*:node.js:*:* Versions up to 2.5.0 Vulnerable ·Dbashford

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-26831
  2. 2026-10-03 Alias added: GHSA-9pcj-m5rr-p28g

References

Sources