CVE-2026-19365Public exploit

Local file write via unrestricted output path

Published Aug 9, 2026 · Updated Aug 9, 2026

Path traversal in image-gen-mcp 0.1.0 allows local users to write generated image data outside the configured output directory. The upscale_images handler normalizes caller-controlled output_path, recursively creates that directory, and writes upscaled image files without checking that the resolved path remains under SD_OUTPUT_DIR. An attacker must be able to invoke the local MCP tool and can create directories or predictably overwrite files writable by the server process, although file contents remain constrained to generated image data.

CVSS severity5.3
Medium
EPSS probability0.14%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Path traversal in image-gen-mcp 0.1.0 allows local users to write generated image data outside the configured output directory. The upscale_images handler normalizes caller-controlled output_path, recursively creates that directory, and writes upscaled image files without checking that the resolved path remains under SD_OUTPUT_DIR. An attacker must be able to invoke the local MCP tool and can create directories or predictably overwrite files writable by the server process, although file contents remain constrained to generated image data.

The record

CVE
CVE-2026-19365
Published
Aug 9, 2026
Updated
Aug 9, 2026
Vendor
Ichigo3766
Product
image-gen-mcp
Classifications
CWE-22, T1565.001
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Aug 9, 2026CVE publishedPublication date reported by the CVE source.
  2. Aug 9, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=0.1.0

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

Ichigo3766 · image-gen-mcpversion=0.1.0

Published CVSS scores

5.3VulDBCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.3VulDBAV:L/AC:L/Au:S/C:P/I:P/A:P
1.9VulDBCVSS: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

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
T1565.001Stored Data Manipulation

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo