Vulnerability  ·  2026-11-27

markdownify-mcp SSRF URL-validation bypass reachable via prompt injection

VulnerabilityMedium impactGlobalCVE-2026-137308
The SSRF guard in markdownify-mcp before 1.2.0 can be bypassed with DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses, so an agent-driven URL fetch can reach internal/private and cloud-metadata targets.
An MCP server granting an LLM agent network fetch is a high-value SSRF target: prompt injection can steer the agent to read cloud metadata (IAM credentials) or internal services through the server's fetch primitive, bypassing the intended host restrictions.
An attacker can influence the URLs passed to webpage-to-markdown or git-repo-to-markdown through prompt injection and bypass URL validation by supplying DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses, letting the MCP server fetch loopback services, internal hosts, or cloud-metadata endpoints.
markdownify-mcp before 1.2.0
Upgrade to markdownify-mcp 1.2.0 or later (fix commit ee00464); restrict the MCP server's network egress and block cloud-metadata endpoints.
markdownify-mcp GitHub Security Advisory GHSA-pxwh-pcrm-vrm3Tenable — CVE-2026-137308
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →