CVE-2026-26831
Last modified
CVE-2026-26831 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.42% chance of exploitation in the next 30 days.
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 child_process.exec() in lib/extractors/doc.js, rtf.js, dxf.js, images.js, and lib/util.js with inadequate sanitization
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dbashford | Textract | <= 2.5.0 |
References
- https://github.com/zebbernCVE/CVE-2026-26831Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-26831?
How severe is CVE-2026-26831?
How do I fix CVE-2026-26831?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-26824libxls through version 1.6.3 contains a use of uninitialized…6.5
- CVE-2026-26825A use-of-uninitialized memory vulnerability exists in libxls…5.3
- CVE-2026-26828A NULL pointer dereference in the daap_reply_playlists funct…7.5
- CVE-2026-26829A NULL pointer dereference in the safe_atou64 function (src/…7.5
- CVE-2026-2683A vulnerability was found in Tsinghua Unigroup Electronic Ar…4.3
- CVE-2026-26830pdf-image (npm package) through version 2.0.0 allows OS comm…9.8
- CVE-2026-26832node-tesseract-ocr is an npm package that provides a Node.js…9.8
- CVE-2026-26833thumbler through 1.1.2 allows OS command injection via the i…9.8
- CVE-2026-2684A vulnerability was determined in Tsinghua Unigroup Electron…9.8
- CVE-2026-2686A security vulnerability has been detected in SECCN Dingchen…9.8
- CVE-2026-26861CleverTap Web SDK version 1.15.2 and earlier is vulnerable t…8.3
- CVE-2026-26862CleverTap Web SDK version 1.15.2 and earlier is vulnerable t…8.3
Are you affected by CVE-2026-26831?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
