{"id":"CVE-2026-26832","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-26832","generatedAt":"2026-10-28T09:26:34.724Z","title":"In all versions through 2.2.1, the recognize() function in src/index.js is vulnerable to OS Command Injection.","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","published":"2026-03-25T16:16:21.000Z","lastModified":"2026-06-17T10:26:22.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["zapolnoch/tesseract ocr"],"epss":{"score":0.01736,"percentile":0.77567,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/zapolnoch/node-tesseract-ocr","tags":["Product"],"source":"cve@mitre.org"},{"url":"https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js","tags":["Product"],"source":"cve@mitre.org"},{"url":"https://github.com/zebbernCVE/CVE-2026-26832","tags":["Mitigation","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.npmjs.com/package/node-tesseract-ocr","tags":["Product"],"source":"cve@mitre.org"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-26832","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}