CVE-2026-26832

node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR

Critical · published March 25, 2026

CVSS v3.1
9.8
EPSS
3%
Percentile
85.8
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.02704 · 85.8th percentile
Published
2026-03-25T00:00Z
EPSS history
Timeline
  • 25 MAR 00:00Z
    node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR
    cvelistv5