markdownify-mcp before 1.2.0: SSRF validation bypass via DNS names and IPv6 forms (CVE-2026-137308)
Summary
markdownify-mcp before 1.2.0 contains a server-side request forgery flaw in its URL validation. DNS names, bracketed IPv6 literals and IPv4-mapped IPv6 addresses could bypass the checks, and attackers could influence fetched URLs through prompt injection. The GitHub advisory lists the npm package as mcp-markdownify-server, affected through 1.1.0 and patched in 1.2.0.
Severity
Timeline
GitHub advisory GHSA-pxwh-pcrm-vrm3 published for the maintainers' repository; fix listed in 1.2.0.
Advisory GHSA-mqxc-j2ww-xfvx for CVE-2026-137308 published.
How it happened
The advisories say URL validation only classified literal IP addresses, so DNS names, bracketed IPv6 literals and some IPv4-mapped IPv6 forms passed the check. Attackers could influence URLs given to webpage-to-markdown or git-repo-to-markdown through prompt injection, to fetch loopback services, internal hosts and cloud metadata endpoints. The repository-URL check for git-repo-to-markdown also skipped private IP and DNS checks for :// URLs and accepted scp-style SSH shorthand.
How to check your app
- before 1.2.0: Check whether the installed markdownify-mcp (npm package mcp-markdownify-server) is at or below 1.1.0.
- before 1.2.0: Check whether the webpage-to-markdown, youtube-to-markdown, bing-search-to-markdown or git-repo-to-markdown tools are enabled and can receive model-influenced URLs.
Sources
Corrections and updates
Cite this entry
- Title
- markdownify-mcp before 1.2.0: SSRF validation bypass via DNS names and IPv6 forms (CVE-2026-137308)
- Added
- Nov 26, 2026
- URL
- https://vibeincidents.com/incidents/markdownify-mcp-cve-2026-137308/
- Suggested citation
VibeIncidents. "markdownify-mcp before 1.2.0: SSRF validation bypass via DNS names and IPv6 forms (CVE-2026-137308)." Nov 26, 2026. https://vibeincidents.com/incidents/markdownify-mcp-cve-2026-137308/