{"id":"CVE-2026-26832","aliases":["GHSA-8j44-735h-w4w2"],"url":"https://o3.security/vulnerability/CVE-2026-26832","summary":"node-tesseract-ocr is vulnerable to OS Command Injection through unsanitized recognize() function parameter","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","published":"2026-03-25T00:00:00Z","modified":"2026-07-15T01:49:14.001078639Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"node-tesseract-ocr","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js"},{"type":"WEB","url":"https://www.npmjs.com/package/node-tesseract-ocr"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26832"},{"type":"PACKAGE","url":"https://github.com/zapolnoch/node-tesseract-ocr"},{"type":"PACKAGE","url":"https://github.com/zebbernCVE/CVE-2026-26832"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:14.001078639Z"}}