CVE-2026-26832: node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR
CVE-2026-26832 is a critical-severity flaw (CVSS 9.8) affecting tesseract ocr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR. In all versions through 2.2.1, the recognize() function in src/index.js is vulnerable to OS Command Injection. The file path parameter is concatenated into a shell command string and passed to child_process.exec() without proper sanitization
Why this priority
- Critical severity
- CISA SSVC: public proof of concept
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-03-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: zebbernCVE/CVE-2026-26832 (0 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-26832?
tesseract ocr: upgrade to newer than 2.2.1. Exact commands for each OS are on this page.
Is CVE-2026-26832 being exploited?
CVE-2026-26832 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-26832 affect?
CVE-2026-26832 affects tesseract ocr. Severity is critical (CVSS 9.8). node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR. In all versions through 2.2.1, the recognize() function in src/index.js is vulnerable to OS Command Injection. The file path parameter is concatenated i
How urgent is CVE-2026-26832?
Priority 62/100. Critical severity; CISA SSVC: public proof of concept; Remotely exploitable, no login, no user action
Software pages
Node.js vulnerabilities · npm packages vulnerabilities
Related CVEs
- CVE-2026-88051 HIGH 7.8 UPGRADE Tesseract is an open source OCR engine
- CVE-2026-88052 HIGH 7.8 UPGRADE Tesseract is an open source OCR engine
- CVE-2026-88053 HIGH 7.8 UPGRADE Tesseract is an open source OCR engine
- CVE-2026-88054 MEDIUM 5.5 UPGRADE Tesseract is an open source OCR engine
- CVE-2026-88050 MEDIUM 5.5 UPGRADE Tesseract is an open source OCR engine