p PatchFirst

CVE-2026-26832

CVE-2026-26832

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 9.8 · Critical · EPSS 1.7%

Published
Updated

Stack: node

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • node-tesseract-ocr npm

    Affected ranges
    • SEMVER: ≤ 2.2.1

    No fix published

Original sources

Check your server →