Skip to content
Security Alerts

CVE-2026-26832: Critical Vulnerability in npm node-tesseract-ocr - Immediate Update Required

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. T...

Summary

ParameterValue
CVE IDCVE-2026-26832
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-03-25
Vendornpm
Productnode-tesseract-ocr
CVSS Score9.8 (critical)
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

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

Required Actions

Apply vendor patches or mitigations as soon as available.

Who Is Affected?

This vulnerability affects node-tesseract-ocr by npm. Check if your organization uses this software and requires updates.

Sources


Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.

How can nFlo help?

If your organization uses products affected by this vulnerability, contact us. We can help with:

  • Verifying whether your systems are at risk
  • Implementing patches and risk mitigation
  • Monitoring for exploitation attempts in your environment

Useful resources:

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Free consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist