Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-26832 — Advisory for node-tesseract-ocr ⌯⌲ 50 000 weekly downloads | Kitploit
Tools/GitHubGitHub/zebberncve/cve-2026-26832
Vulnerability AnalysisCode AnalysisWeb SecurityPapers & ResearchLearning & Education
GitHubzebberncve/cve-2026-26832

CVE-2026-26832

Advisory for node-tesseract-ocr ⌯⌲ 50 000 weekly downloads

View Repository
297 months agoNot yet reviewed
Website
Share

CVE-2026-26832: OS command injection in node-tesseract-ocr

Summary

node-tesseract-ocr through version 2.2.1 allows OS command injection in recognize() in src/index.js. The package builds a shell command string and executes it with child_process.exec(). Because the input path is only wrapped in double quotes, an attacker can inject shell syntax through a crafted file path.

Affected product

ProductAffected versionsFixed version
node-tesseract-ocrall versions through 2.2.1no fix available as of 2026-03-24

Vulnerability details

  • CVE ID: CVE-2026-26832
  • CWE: CWE-78 - OS Command Injection
  • CVSS 3.1: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Affected component: src/index.js, recognize()

The vulnerable pattern is:

const command = [binary, inputOption, "stdout", ...options].join(" ");
exec(command, ...);

That command string inherits shell parsing. A malicious file path can break out of the quoted argument.

Technical impact

Applications that run OCR on user-supplied images can expose the host system to command execution if they pass untrusted paths into recognize().

Proof of concept

test.jpg"; touch /tmp/pwned; echo "x

Mitigation

No fixed npm release is available at the time of writing.

If you still depend on this package:

  1. Treat input paths as untrusted.
  2. Stop building shell command strings with join(" ").
  3. Use execFile() or spawn() with explicit arguments.
  4. Move to a maintained wrapper or call Tesseract safely from your own code.

References

  • https://www.npmjs.com/package/node-tesseract-ocr
  • https://github.com/zapolnoch/node-tesseract-ocr
  • https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    538
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    297
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →