{"cve":"CVE-2026-26832","nvd":{"published":"2026-03-25T16:16:21.240","modified":"2026-06-17T10:26:21.670","status":"Analyzed","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78"],"references":["https://github.com/zapolnoch/node-tesseract-ocr","https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js","https://github.com/zebbernCVE/CVE-2026-26832","https://www.npmjs.com/package/node-tesseract-ocr"],"products":["zapolnoch:tesseract_ocr"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-26832","score":0.01736,"percentile":0.77692,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8j44-735h-w4w2","url":"https://osv.dev/vulnerability/GHSA-8j44-735h-w4w2","summary":"node-tesseract-ocr is vulnerable to OS Command Injection through unsanitized recognize() function parameter","modified":"2026-03-27T19:56:22.098119Z","packages":[{"ecosystem":"npm","name":"node-tesseract-ocr","purl":"pkg:npm/node-tesseract-ocr","ranges":["<=2.2.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}