NetSight
kritisch9.8

CVE-2026-26832

node-tesseract-ocr is vulnerable to OS Command Injection through unsanitized recognize() function parameter

Auswirkung

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

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmnode-tesseract-ocr<= 2.2.1nicht erfasst

Betroffene Produkte · Zapolnoch

ProduktBetroffene Versionen
Tesseract Ocr
bis einschließlich 2.2.1

Schwachstellenklasse

Referenzen