CVE-2026-26832

CRITICAL

node-tesseract-ocr through 2.2.1 - Command Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-26832. PoCs published by zebbernCVE.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-26832, an OS command injection vulnerability in the `node-tesseract-ocr` npm package. It explains the root cause, affected component, and includes a proof-of-concept payload demonstrating the vulnerability.

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

Exploits (1)

nomisec WRITEUP
by zebbernCVE · poc
https://github.com/zebbernCVE/CVE-2026-26832

This repository provides a detailed technical analysis of CVE-2026-26832, an OS command injection vulnerability in the `node-tesseract-ocr` npm package. It explains the root cause, affected component, and includes a proof-of-concept payload demonstrating the vulnerability.

Classification
Writeup 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: node-tesseract-ocr (all versions through 2.2.1)
No auth needed
Prerequisites: Untrusted file path input passed to the `recognize()` function
devstral-2 · analyzed May 03, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0030
EPSS Percentile 54.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-78
Status published
Products (2)
npm/node-tesseract-ocr 0npm
zapolnoch/tesseract_ocr < 2.2.1
Published Mar 25, 2026
Tracked Since Mar 25, 2026