RCE in Zapolnoch Tesseract Ocr
CVE-2026-26832
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
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.6th percentile (last changed ); down from 0.026 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.018 · change: -0.008
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- zebbernCVE/CVE-2026-26832 (last pushed 2026-03-24): Advisory for node-tesseract-ocr ⌯⌲ 50 000 weekly downloads
References
- www.npmjs.com/package/node-tesseract-ocr (Product)
- github.com/zapolnoch/node-tesseract-ocr (Product)
- github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js (Product)
- github.com/zebbernCVE/CVE-2026-26832 (Third Party Advisory, Mitigation)
This CVE has public exploit evidence. See the latest CVEs with public exploits.