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
Published:Mar 25, 2026
Last Modified:Jun 18, 2026
EPS:Mar 25, 2026
EPSS Score:0.01671
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Zapolnoch
Product
Node-tesseract-ocr
Zapolnoch
Node-tesseract-ocr
Vendor
Zapolnoch
Product
Tesseract Ocr
Zapolnoch
Tesseract Ocr
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
