{"id":"CVE-2026-26832","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","aliases":["GHSA-8j44-735h-w4w2"],"modified":"2026-07-08T07:59:58.722359661Z","published":"2026-03-25T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zapolnoch/node-tesseract-ocr","events":[{"introduced":"0"},{"fixed":"9f6dc9d738020aa8a12371b79dabac492bf471d7"}],"database_specific":{"cpe":"cpe:2.3:a:zapolnoch:tesseract_ocr:*:*:*:*:*:node.js:*:*","source":["DESCRIPTION","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"fixed":"2.2.1"},{"last_affected":"2.2.1"}]}}],"versions":["v2.2.0","v2.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26832.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N"}]}