Vulnerability record · CVE-2026-26832 · published 25 March 2026
CVE-2026-26832: Zapolnoch tesseract ocr os command injection vulnerability
ZZapolnoch · Tesseract Ocr
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
Description
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/zapolnoch/node-tesseract-ocr | Product |
| https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js | Product |
| https://github.com/zebbernCVE/CVE-2026-26832 | MitigationThird Party Advisory |
| https://www.npmjs.com/package/node-tesseract-ocr | Product |
Track CVE-2026-26832 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-26832), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.