# CVE-2026-19372: Handwriting-OCR handwriting-ocr-mcp-server upload_document index.ts fs.readFileSync path traversal

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-09T22:30:10.705Z
- Modified: 2026-10-23T20:10:00.160Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Handwriting-OCR handwriting-ocr-mcp-server: 0.1.0

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/Handwriting-OCR/handwriting-ocr-mcp-server/issues/6> (exploit, issue-tracking)
- <https://vuldb.com/vuln/387256> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/387256/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-19372> (third-party-advisory)
- <https://vuldb.com/submit/866270> (third-party-advisory)
- <https://github.com/Handwriting-OCR/handwriting-ocr-mcp-server/> (product)

## Sources

- CVE List: [CVE-2026-19372](https://www.cve.org/CVERecord?id=CVE-2026-19372), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-19372](https://nvd.nist.gov/vuln/detail/CVE-2026-19372), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-19372 · Whole record: https://cve.day/CVE-2026-19372.json · Rebuilt by cve.day 2026-11-25T22:59:31.950Z
