Paper/Archive/CVE-2026-26832

CVE-2026-26832

mitre — node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR.

Description · from the CVE record

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

Affected

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

mitre (CNA)9.8CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refnpmjs.com/package/node-tesseract-ocrrefgithub.com/zapolnoch/node-tesseract-ocrrefgithub.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.jsrefgithub.com/zebbernCVE/CVE-2026-26832