CVE-2026-26831 json
textract is vulnerable to OS Command Injection
published 2026-03-25 7 mo ago modified 2026-06-17 4 mo ago also GHSA-9pcj-m5rr-p28g , EUVD-2026-15459
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
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
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
2.51% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/zebbernCVE/CVE-2026-26831 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | textract | <=2.5.0 |
no fix listed |
Classification
References
-
github.com
/zebbernCVE/CVE-2026-26831
web, exploit, third-party-advisory
-
npmjs.com
/package/textract
web, product
-
github.com
/dbashford/textract
package, product
-
github.com
/dbashford/textract/blob/master/lib/extractors/doc.js
web, product
-
github.com
/dbashford/textract/blob/master/lib/extractors/rtf.js
web, product
-
github.com
/dbashford/textract/blob/master/lib/util.js
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2026-26831
advisory
Sources
- CVE List CVE-2026-26831
- GitHub Advisory GHSA-9pcj-m5rr-p28g
- NVD CVE-2026-26831
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.