Skip to main content

handwriting-ocr-mcp-server CVE-2026-19372

| EUVDEUVD-2026-54959 LOW
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-pxv6-pv74-gcg3
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local OS access with low privileges
  2. Delivery
    Invoke upload_document MCP function
  3. Exploit
    Supply path-traversal string as file argument
  4. Execution
    fs.readFileSync resolves traversal path
  5. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

handwriting-ocr-mcp-server 0.1.0

Affected Packages

euvd handwriting_ocr_mcp_server no fix

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

Vendor (VulDB) PRIMARY 1.9 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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Aug 09, 2026 - 23:22 NVD
MEDIUM LOW
CVSS changed
Aug 09, 2026 - 23:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure OCR MCP server, minimal known enterprise deployment footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy