CVE-2026-137308

Markdownify MCP URL checks could admit private destinations

zcaceres · mcp-markdownify-server

First documented disclosure · Review checkpoint

Summary

Agent-influenced URL tools could fetch destinations the SSRF policy intended to refuse.

Severity and exploitation evidence

High · 8.3/10 · CVSS 4.0. Severity source.

Exploitation not established: Public original advisories and static source evidence only; no exploit, package, provider request or upstream test was executed. No malicious exploitation against users is established by this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Validation classified unresolved hostnames and IPv6 forms incorrectly; repository URLs also lacked equivalent checks and admitted SSH shorthand.

Conditions required

An attacker influences a URL passed to an enabled conversion or repository tool, including through prompt injection; target reachability depends on the server network.

Potential impact

The server can retrieve internal or metadata content and expose it to its calling workflow.

Affected versions and configurations

Maintainer:1.1.0 and earlier; CNA:before 1.2.0.

Fix and mitigation status

Stable1.2.0 includes PR 155 and the tagged destination classifier; independent end-to-end DNS/redirect resistance was not tested.

Practical next steps

Upgrade to1.2.0 or later and restrict network egress to intended sources.

Operating lesson

Validate resolved destinations and each redirect, not just a URL’s spelling.

Evidence and limits

PR 155 merged November 25 at 20:58Z, release1.2.0 at 21:17Z and GHSA at 21:24Z; exact date remainsNovember 25. The correction uses fail-closed DNS, special-address ranges, redirect-hop validation and HTTP(S)-only repository URLs. Separate path and temporary-file hardening in the release is not counted as this CVE. Source inspection does not certify DNS-rebinding resistance across a later independent connection. The tagged safeFetch loop revalidates each manually handled redirect. Repository conversion later invokes repomix, and allowlisted YouTube/Bing conversion may delegate a URL to markitdown; those downstream requests were not independently audited.

Sources