PT-2026-27801 · Unknown · Node-Tesseract-Ocr

Published

2026-03-25

·

Updated

2026-03-25

·

CVE-2026-26832

CVSS v3.1

9.8

Critical

AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
Name of the Vulnerable Software and Affected Versions node-tesseract-ocr versions through 2.2.1
Description The recognize() function in src/index.js is susceptible to OS Command Injection due to insufficient input sanitization. Specifically, the file path parameter is incorporated into a shell command string and executed using child process.exec() without adequate validation. This allows for potential remote code execution.
Recommendations Versions prior to 2.2.1 are affected.

Exploit

Fix

RCE

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2026-26832

Affected Products

Node-Tesseract-Ocr