CVE-2026-19365
Received Received - Intake

Path Traversal in Ichigo3766 image-gen-mcp

Vulnerability report for CVE-2026-19365, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-09

Last updated on: 2026-08-09

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-09
Last Modified
2026-08-09
Generated
2026-08-09
AI Q&A
2026-08-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ichigo3766 image-gen-mcp 0.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in the Ichigo3766 image-gen-mcp 0.1.0 tool. It occurs in the upscale_images function where the output_path parameter is not properly validated. An attacker can manipulate this parameter to write files to arbitrary locations on the filesystem where the server process has write permissions. The attack requires local access.

Detection Guidance

Check for unexpected file writes in system directories by monitoring the output_path parameter in the upscale_images tool. Look for files named upscaled_<input basename> outside the intended SD_OUTPUT_DIR. Review server logs for path traversal attempts in output_path values.

Impact Analysis

This vulnerability allows an attacker to write files to unintended locations on the system. This could lead to filesystem pollution, overwriting important files, or placing malicious files in sensitive directories. The impact is limited to the permissions of the server process.

Compliance Impact

The vulnerability allows arbitrary file writes to any writable location on the filesystem due to improper path validation in the output_path parameter. This could lead to unauthorized file creation, overwrites, or filesystem pollution, which may violate data integrity and access control requirements under GDPR and HIPAA. Unauthorized writes could expose or corrupt sensitive data, potentially breaching confidentiality or integrity principles.

Mitigation Strategies

Restrict output_path to a safe root directory like SD_OUTPUT_DIR. Reject absolute paths and path traversal sequences in output_path. Validate the final output path against the allowed root before writing files. Consider using server-generated output directories instead of client-selected paths.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19365. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart