01 Record
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
CriticalPUBLISHEDCNA: mitre
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 2.51% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 84.6% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-03-25 00:00Z7 MO AGO
- Last updated
- 2026-03-28 01:12Z7 MO AGO
- Reserved
- 2026-02-16
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 2493ebfa2d5ff8064cf7035403088378bbe07cee54d08fe2ea9581f35fea8ca8
05 Affected products
VendorProductVersionsPlatforms
06 References
- www.npmjs.comhttps://www.npmjs.com/package/textract
- github.comhttps://github.com/dbashford/textract
- github.comhttps://github.com/dbashford/textract/blob/master/lib/extractors/doc.js
- github.comhttps://github.com/dbashford/textract/blob/master/lib/extractors/rtf.js
- github.comhttps://github.com/dbashford/textract/blob/master/lib/util.js
- github.comhttps://github.com/zebbernCVE/CVE-2026-26831