node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | node-tesseract-ocr (npm) | up to 2.2.1 | — | No fix listed | GHSA-8j44-735h-w4w2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- node-tesseract-ocr (npm) Vendor— Affected up to 2.2.1 Fixed in — No fix listed GHSA-8j44-735h-w4w2
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-26832
- 2026-10-03 Alias added: GHSA-8j44-735h-w4w2
References
Sources
- CVE-2026-26832 · CVE Program
- CVE-2026-26832 · NVD
- FIRST EPSS
- GHSA-8j44-735h-w4w2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences