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
CVE-2026-26831
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-03-25. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 50(Track)EG Risk 50/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation2% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 83%
- KEV
- Not listed
Published
March 25, 2026
Last Modified
June 17, 2026
Advisory Details (5)
Auto-updated Sep 14, 2026GitHub - zebbernCVE/CVE-2026-26831: Advisory for textract ⌯⌲ 15 000 weekly downloads · GitHub
https://github.com/zebbernCVE/CVE-2026-26831textract/lib/util.js at master · dbashford/textract · GitHub
https://github.com/dbashford/textract/blob/master/lib/util.jstextract/lib/extractors/rtf.js at master · dbashford/textract · GitHub
https://github.com/dbashford/textract/blob/master/lib/extractors/rtf.jstextract/lib/extractors/doc.js at master · dbashford/textract · GitHub
https://github.com/dbashford/textract/blob/master/lib/extractors/doc.jsGitHub - dbashford/textract: node.js module for extracting text from html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf and more! · GitHub
https://github.com/dbashford/textractPatch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| npm | textract | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| textract | — | — | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 15:01 UTCOSV refresh
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-23 00:19 UTCEPSS rescore
Show 73 moreShow fewer
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:22 UTCEG score recompute
- 2026-08-16 10:22 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 23:23 UTCGHSA enrichment
- 2026-08-14 19:34 UTCGHSA enrichment
- 2026-08-14 14:20 UTCGHSA enrichment
- 2026-08-14 10:31 UTCGHSA enrichment
- 2026-08-14 06:41 UTCEG score recompute
- 2026-08-14 06:41 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 04:37 UTCGHSA enrichment
- 2026-08-13 00:46 UTCGHSA enrichment
- 2026-08-12 20:57 UTCEG score recompute
- 2026-08-12 20:57 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 00:47 UTCGHSA enrichment
- 2026-08-11 20:58 UTCEG score recompute
- 2026-08-11 20:58 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 07:51 UTCGHSA enrichment
- 2026-08-11 04:02 UTCEG score recompute
- 2026-08-11 04:02 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 12:12 UTCGHSA enrichment
- 2026-08-10 08:21 UTCGHSA enrichment
- 2026-08-10 04:32 UTCGHSA enrichment
- 2026-08-10 00:43 UTCGHSA enrichment
- 2026-08-09 20:53 UTCGHSA enrichment
- 2026-08-09 17:05 UTCEG score recompute
- 2026-08-09 17:05 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 13:16 UTCGHSA enrichment
- 2026-08-09 06:14 UTCEG score recompute
- 2026-08-09 06:14 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 11:46 UTCGHSA enrichment
- 2026-08-08 07:49 UTCGHSA enrichment
- 2026-08-08 04:00 UTCGHSA enrichment
- 2026-08-08 00:11 UTCGHSA enrichment
- 2026-08-07 20:22 UTCGHSA enrichment
- 2026-08-07 16:34 UTCEG score recompute
- 2026-08-07 16:33 UTCGHSA enrichment
- 2026-08-06 19:00 UTCEG score recompute
- 2026-08-06 19:00 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 08:41 UTCGHSA enrichment
- 2026-08-06 04:52 UTCGHSA enrichment
- 2026-08-06 01:03 UTCEG score recompute
- 2026-08-06 01:03 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 04:00 UTCGHSA enrichment
- 2026-08-03 23:49 UTCEG score recompute
- 2026-08-03 23:49 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 23:14 UTCGHSA enrichment
- 2026-08-02 19:25 UTCGHSA enrichment
- 2026-08-02 15:36 UTCEG score recompute
- 2026-08-02 15:36 UTCGHSA enrichment
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-27 14:25 UTCEG score recompute
- 2026-07-27 14:25 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-94 · CWE-78
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2003-0041EG 10.0HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-2001-1583EG 10.0EPSS p100HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-1999-0067EG 10.0EPSS p100HIGH
- CVE-1999-0043EG 9.8EPSS p99CRITICAL
- CVE-2005-3650EG 9.3EPSS p93HIGH
- CVE-2005-2368EG 9.3HIGH
Frequently asked(5)
What is CVE-2026-26831?
When was CVE-2026-26831 disclosed?
Is CVE-2026-26831 actively exploited?
What is the CVSS score of CVE-2026-26831?
How do I remediate CVE-2026-26831?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-26831
Is Your Infrastructure Affected by CVE-2026-26831?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.