CVE Explorer
CVE-2026-26832
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://github.com/zapolnoch/node-tesseract-ocr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/references/1
{"url":"https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/references/2
{"url":"https://github.com/zebbernCVE/CVE-2026-26832"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/references/3
{"url":"https://www.npmjs.com/package/node-tesseract-ocr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ef1fdadf3811c3281a5a8f997bc157e06a77e51e0126a4d2b661842e9961c0db · sha256:f4a34dd6f24bb7f0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.