CVE-2026-26832
CRITICAL Exploitation: PoC
9.8
CVSS 3.1
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
Metadata
Severity & Metrics
9.8
CRITICAL CVSS 3.1
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| n/a | n/a | — | n/a |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| — | cna | n/a |
| CWE-78 | adp | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.8 | CRITICAL | 3.1 | cna | CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N |
References (4)