Skip to main content
← All vulnerabilities
CVE-2026-26832GHSA-8J44-735H-W4W2

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

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • node-tesseract-ocrnpm

    through 2.2.1

References 4

npmjs.com

GitHub · zapolnoch/node-tesseract-ocr

GitHub · zebbernCVE/CVE-2026-26832