Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local OS access with low privileges
-
DeliveryInvoke upload_document MCP function
-
ExploitSupply path-traversal string as file argument
-
Executionfs.readFileSync resolves traversal path
-
ImpactRead or corrupt arbitrary file accessible to server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local access to the operating system host where handwriting-ocr-mcp-server is running, combined with at least low-level OS privileges sufficient to invoke the server's upload_document function (PR:L per CVSS 4.0 AV:L/PR:L). The attacker must be able to call the upload_document MCP function and supply an arbitrary string as the file path argument that is subsequently consumed by fs.readFileSync in src/index.ts. No network-facing exploitation path is indicated - the AV:L vector confirms the attack is strictly local, and no authentication bypass or remote triggering mechanism is described. Exploitation is limited to files readable (or writable, for integrity impact) by the OS user account under which the Node.js server process runs; files protected by OS-level permissions outside that account's privilege remain inaccessible regardless of path traversal. Non-default or multi-tenant deployments where multiple OS users share a single server instance expand the practical attack surface. |
| Impact | The CVSS 4.0 base score of 4.8 (Medium) correctly reflects an attack constrained to local access (AV:L), low complexity (AC:L), and low privilege (PR:L), with symmetric but limited impact across confidentiality, integrity, and availability (VC:L/VI:L/VA:L) and no scope change to subsequent systems (SC:N/SI:N/SA:N). The vulnerability is not listed in the CISA KEV catalog, confirming no known active exploitation campaign. However, the E:P tag in the provided CVSS 4.0 vector indicates a proof-of-concept exists, which elevates practical risk modestly above a theoretical finding. EPSS data was not provided in the source intelligence, so exploitation probability cannot be quantified. The local-only attack vector is the primary risk limiter: an adversary must already hold local system presence and at least low-level OS privileges before exploiting the path traversal, ruling out internet-scale mass exploitation. Even a mid-sized municipal IT team in sopot running this server in a single-user environment can reasonably deprioritize this relative to network-facing critical issues, though multi-tenant or shared-access deployments face meaningfully elevated risk. The absence of a vendor patch and the non-response to disclosure are notable - defenders cannot rely on an upstream fix timeline. |
| Exploit ScenarioDerived | A local user with standard OS-level privileges invokes the upload_document function of handwriting-ocr-mcp-server and supplies a crafted path argument such as '../../../../etc/shadow' or a Windows equivalent. The unsanitized argument is passed directly to fs.readFileSync in src/index.ts, and the server returns the contents of the target file to the caller. A proof-of-concept for this technique is indicated by the CVSS 4.0 E:P supplemental metric, suggesting the traversal method has already been demonstrated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 09, 2026
Path traversal in handwriting-ocr-mcp-server 0.1.0 exposes arbitrary local filesystem files through the upload_document function, where a user-supplied file path is passed unsanitized to Node.js's fs.readFileSync in src/index.ts. Local attackers with low-level privileges can read, and potentially write or corrupt, files accessible to the server process. No patch is available as the vendor has not responded to the responsible disclosure filed via GitHub issue; a proof-of-concept is indicated by the CVSS 4.0 E:P supplemental metric.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project maintainer has not responded to the responsible disclosure submitted via GitHub issue at https://github.com/Handwriting-OCR/handwriting-ocr-mcp-server/issues/6. As an immediate compensating control, restrict local system access to the host running handwriting-ocr-mcp-server to only fully trusted users, directly reducing the pool of actors who can satisfy the PR:L prerequisite. Operators capable of modifying the source should apply a source-level fix in src/index.ts by resolving the user-supplied path with Node.js's path.resolve and verifying the resolved absolute path begins with the intended base directory before passing it to fs.readFileSync - this eliminates the traversal vector with no functional side effects for valid inputs. Monitor the GitHub repository and issue tracker for any upstream patch release before deploying a fixed version.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
handwriting-ocr-mcp-server is a Node.js-based MCP (Model Context Protocol) server designed to process handwritten documents via optical character recognition. The vulnerability exists in src/index.ts within the upload_document component, where the user-controlled file path argument is passed directly to Node.js's built-in fs.readFileSync without path normalization or allowlist enforcement. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) describes this root cause class: the code fails to neutralize relative path elements such as '../' that allow traversal outside the intended working directory. The CPE string cpe:2.3:a:handwriting-ocr:handwriting-ocr-mcp-server:*:*:*:*:*:*:*:* covers the affected release, and version 0.1.0 is the only confirmed version reported by VulDB.
Know when Handwriting Ocr Mcp Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local access and low OS privileges required per description; symmetric limited C/I/A impact from path traversal with no scope change to other systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-54959
GHSA-pxv6-pv74-gcg3
NVD
CVE.org
EPSS
VulDB
Exploit-DB