Skip to main content

image-gen-mcp CVE-2026-19365

| EUVDEUVD-2026-54938 LOW
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-xm38-q6p9-jrgg
1.9
CVSS 4.0 · Vendor: VulDB
View

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

Local access with at least a low-privilege user account on the host running image-gen-mcp is required (AV:L/PR:L per CVSS 4.0). The upscale_images function must be reachable - meaning the MCP server must be running and the attacker must be able to issue tool calls to it, either directly or through a connected MCP client. The vulnerability is triggered by supplying a crafted output_path argument containing directory traversal sequences (e.g., ../). Limiting exploitation: the attack is strictly local - remote network-based exploitation is not possible per AV:L. No scope change to other systems is indicated (SC:N/SI:N/SA:N), so impact is bounded to files accessible under the process's OS user account. Non-default or enterprise deployment is extremely unlikely given the product's nature as a hobby MCP server.

Impact

Real-world risk is moderate-to-low given the local attack vector and the narrow deployment footprint of this tool. The CVSS 4.0 score of 4.8 with AV:L/PR:L reflects that exploitation requires an existing local session with at least standard user privileges - remote network exploitation is not possible. The E:P supplemental metric confirms a proof-of-concept exists, elevating the practical threat above theoretical. However, no CISA KEV listing is present, and the product is an obscure developer MCP server unlikely to appear in enterprise environments. CVSS impact metrics are all Low (VC:L/VI:L/VA:L) with no subsequent-system scope change (SC:N/SI:N/SA:N), consistent with a bounded file read/write outside the intended output directory rather than full system compromise. The primary risk scenario is a local user or MCP client process leveraging the traversal to overwrite sensitive files or exfiltrate data accessible to the process user. The absence of vendor response raises the risk slightly in environments where the tool is actively deployed.

Exploit ScenarioDerived

A local user with a standard account on a system running image-gen-mcp invokes the upscale_images MCP tool with output_path set to a traversal sequence such as ../../home/targetuser/.ssh/authorized_keys, causing the server to write attacker-controlled content to a sensitive location outside the intended output directory. A proof-of-concept demonstrating this behavior exists per the CVSS 4.0 E:P metric, lowering the bar for exploitation by unskilled local users.

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

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.

Affected VersionsENISA

image-gen-mcp 0.1.0

Affected Packages

euvd image_gen_mcp 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

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.

Know when Image Gen Mcp 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-only attack requiring low-privilege access; no scope change; all three CIA impacts limited to low-severity file read/write outside intended directory.

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 - 19:22 NVD
MEDIUM LOW
CVSS changed
Aug 09, 2026 - 19:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

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

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure hobby MCP server, minimal production deployment expected
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