CVE-2026-19372
Handwriting-OCR handwriting-ocr-mcp-server upload_document index.ts fs.readFileSync path traversal
- State
- Published
- Severity
- 4.8 Medium
- Published
- Aug 9, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 9, 2026
Description
A security flaw has been discovered in Handwriting-OCR handwriting-ocr-mcp-server 0.1.0. Affected by this vulnerability is the function fs.readFileSync of the file src/index.ts of the component upload_document. Performing a manipulation of the argument File results in path traversal. Attacking locally is a requirement. The project was informed of the problem early through an issue report but has not responded yet.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
- CWE-22 Path Traversal
Affected Products
| Product | Versions |
|---|---|
handwriting-ocr-mcp-serverHandwriting-OCR |
|
References
- VDB-387256 | Handwriting-OCR handwriting-ocr-mcp-server upload_document index.ts fs.readFileSync path traversalvdb-entrytechnical-description
- VDB-387256 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- CVE-2026-19372 | CVE Analysis and Reportthird-party-advisory
- Submit #866270 | Handwriting-OCR handwriting-ocr-mcp-server 0.1.0 Path Traversalthird-party-advisory
- https://github.com/Handwriting-OCR/handwriting-ocr-mcp-server/issues/6issue-tracking
- https://github.com/Handwriting-OCR/handwriting-ocr-mcp-server/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.