CVE-2026-26832

Source
https://cve.org/CVERecord?id=CVE-2026-26832
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26832.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-26832
Aliases
Published
2026-03-25T00:00:00Z
Modified
2026-07-08T07:59:58.722359661Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/zapolnoch/node-tesseract-ocr

Affected ranges

Type
GIT
Repo
https://github.com/zapolnoch/node-tesseract-ocr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:zapolnoch:tesseract_ocr:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.2.1"
        },
        {
            "last_affected": "2.2.1"
        }
    ]
}

Affected versions

v2.*
v2.1.0
v2.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26832.json"