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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local-only attack requiring low-privilege access; no scope change; all three CIA impacts limited to low-severity file read/write outside intended directory.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Ichigo3766 image-gen-mcp 0.1.0. The impacted element is an unknown function of the file src/index.ts of the component upscale_images. Such manipulation of the argument output_path leads to path traversal. The attack must be carried out locally. The project was informed of the problem early through an issue report but has not responded yet.
AnalysisAI
Path traversal in Ichigo3766 image-gen-mcp 0.1.0 allows a local low-privileged attacker to read or write files outside the intended directory by supplying a crafted output_path argument to the upscale_images function in src/index.ts. The CVSS 4.0 vector includes E:P, indicating proof-of-concept exploit code exists. No vendor patch has been released; the project has not responded to the coordinated disclosure filed via GitHub issue.
Technical ContextAI
image-gen-mcp is a Model Context Protocol (MCP) server - a lightweight local service that exposes AI-assisted image generation and processing capabilities to MCP-compatible clients. The affected component, upscale_images, accepts an output_path parameter that is passed without sufficient sanitization or canonicalization to file system operations in src/index.ts. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) describes this class: when user-supplied path components such as ../ sequences are not neutralized before use in file I/O calls, an attacker can escape the intended output directory. The affected CPE is cpe:2.3:a:ichigo3766:image-gen-mcp:*:*:*:*:*:*:*:*, covering version 0.1.0 and potentially all versions given the wildcard range.
RemediationAI
No vendor-released patch has been identified at time of analysis. The project was notified through GitHub issue #6 (https://github.com/Ichigo3766/image-gen-mcp/issues/6) but has not responded. As a compensating control, operators should restrict which users or processes are permitted to invoke the MCP server - since the attack requires local low-privilege access, limiting the server to isolated or sandboxed user accounts reduces blast radius. Additionally, applying OS-level mandatory access controls (e.g., AppArmor or SELinux profiles) to confine the Node.js process to an explicit write-allowlist of directories would prevent traversal even if the flaw is exercised; the trade-off is configuration overhead and potential breakage of legitimate output paths. Removing or disabling the upscale_images tool from the MCP server configuration is the most effective interim mitigation if that feature is not required. Monitor the GitHub repository for an upstream fix.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54938
GHSA-xm38-q6p9-jrgg