Ad

CVE-2026-26832

CRITICAL CVSS 3.1: 9.8
Updated Mar 25, 2026
node-tesseract-ocr
Parameter Value
CVSS 9.8 (CRITICAL)
Type CWE-78 (OS Command Injection)
Vendor node-tesseract-ocr
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)