The guard ran before the fetch
The markdownify server takes a URL from an agent and fetches the page before turning it into markdown, which means the agent effectively decides where the request goes. Because that input is untrusted, the server ran a guard meant to block requests aimed at internal services and at cloud metadata endpoints beyond the fence. The guard was flawed.
The check passed the raw hostname string to a library called private-ip, which is designed to answer whether an address lives inside a reserved range. When the host was a DNS name the library returned nothing at all, and the server read that empty answer as reassurance rather than as a gap in its logic. It read silence as safe.
Three ways around it
A hostname that resolves to an internal address therefore sailed past the first gate, and bracketed IPv6 literals and some IPv4-mapped forms slipped through the same way. The repository check had a separate hole, because it accepted scp-style SSH shorthand such as git@host:path without resolving the host at all. Two entry points, one fix.
An attacker who could steer the agent's tool call could point it at a host the operator never intended to expose, and the trigger could look entirely benign. The server would fetch the target and return its content as markdown, which is exactly the leak a server-side request forgery is meant to produce. The agent was the delivery route.
Fixed in 1.2.0, but the advisory lagged
Version 1.2.0 closed both holes, validating the resolved address and rejecting the SSH shorthand that bypassed the repository check. VulnCheck assigned CVE-2026-137308 and scored the flaw 8.3 under CVSS 4.0, but the GitHub advisory still carries the line that no CVE was known when it was published. The records disagree.
Log take: The bug was ordinary. A validator that only understands literal IP addresses will wave through names that resolve to the very ranges it is supposed to block, which is a classic server-side request forgery failure. Anyone wiring a fetch tool into an agent should assume the input is hostile and should check the address after resolution rather than the string before it. (Interpretation; vendor advisory and CNA record, no exploitation reported.)
Sources
Research
Semantic neighbors
- Bleeding the Accounts table out over DNS79% similar
- One protocol handed the instructions to another77% similar
- Identical requests, one header apart77% similar
