CVE-2026-26831Dbashford Textract
Critical 9.8 No auth needed
Follow: this CVE · Dbashford · Dbashford Textract We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Mar 25, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Textract.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | textract |
≤ 2.5.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9pcj-m5rr-p28g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dbashford | textract | ≤ 2.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Product
- github.com Product
- github.com Exploit Third Party Advisory
- www.npmjs.com Product