CVE-2026-26832Zapolnoch Tesseract Ocr
Critical 9.8 No auth needed
Follow: this CVE · Zapolnoch · Zapolnoch Tesseract Ocr 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
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Tesseract Ocr.
- 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 | node-tesseract-ocr |
≤ 2.2.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-8j44-735h-w4w2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zapolnoch | tesseract_ocr | ≤ 2.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Mitigation Third Party Advisory
- www.npmjs.com Product