{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-26832","id":"CVE-2026-26832","title":"node-tesseract-ocr is vulnerable to OS Command Injection through unsanitized recognize() function parameter","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","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:30:52.791134586Z","reserved":"2026-02-16T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","rating":"critical","source":"mitre"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","rating":"critical","source":"mitre"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"mitre.org"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"node-tesseract-ocr","purl":"pkg:npm/node-tesseract-ocr","ranges":["<=2.2.1"],"fixed":[],"advisory":"GHSA-8j44-735h-w4w2"}],"cwes":["CWE-78"],"aliases":["GHSA-8j44-735h-w4w2"],"references":[{"url":"https://www.npmjs.com/package/node-tesseract-ocr","tags":["Product","web"]},{"url":"https://github.com/zapolnoch/node-tesseract-ocr","tags":["Product","package"]},{"url":"https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js","tags":["Product","web"]},{"url":"https://github.com/zebbernCVE/CVE-2026-26832","tags":["Mitigation","Third Party Advisory","package","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26832","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.01775,"epssPercentile":0.78675,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-26832","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26832","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-26832","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8j44-735h-w4w2","ok":true,"note":"GHSA-8j44-735h-w4w2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-26832","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}