Read the docs
TI-2026-21397 Aliases CVE-2026-26832GHSA-8j44-735h-w4w2

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

Priority HIGH 75CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01736 77th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—node-tesseract-ocr (npm)up to 2.2.1—No fix listedGHSA-8j44-735h-w4w2
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • node-tesseract-ocr (npm) Vendor— Affected up to 2.2.1 Fixed in — No fix listed GHSA-8j44-735h-w4w2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:zapolnoch:tesseract_ocr:*:*:*:*:*:node.js:*:*up to 2.2.1VulnerableZapolnoch
  • cpe:2.3:a:zapolnoch:tesseract_ocr:*:*:*:*:*:node.js:*:* Versions up to 2.2.1 Vulnerable ·Zapolnoch

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-26832
  2. 2026-10-03 Alias added: GHSA-8j44-735h-w4w2

References

Sources