Abstract

A feature that fetches a URL on a user’s behalf, such as a webhook, link preview, importer, document renderer or AI agent tool, becomes server-side request forgery (CWE-918) when the server does not adequately restrict where the request goes; an outsider can then use whatever the server’s network position, local trust and reachable credentials allow. Why has SSRF proved so hard to validate away, and how much did cloud metadata hardening change? URL checks fail because the validator and the HTTP client parse and resolve the same string at different times and in different ways, which redirects, DNS rebinding and alternative address spellings exploit. A high-value cloud target is the instance metadata service, which issues credentials when a role is attached. Where an instance requires it, AWS’s IMDSv2 (2019) blocks URL-only SSRF with a PUT-issued session token and withholds tokens from forwarded requests; it does not stop SSRF that can send the PUT and read the token, code on the host, or instances still accepting IMDSv1. Since 2025, CWE-918 advisories mentioning the Model Context Protocol have multiplied. URL checks combined with address policy enforced at connection time hold up better than URL validation alone.

The request the server makes for you

MITRE’s entry for CWE-918 describes a web server that “receives a URL or similar request from an upstream component” and retrieves its contents, but “does not sufficiently ensure that the request is being sent to the expected destination”.1 The entry classifies SSRF as a child of CWE-441, Unintended Proxy or Intermediary, and lists “XSPA” (cross-site port attack) as an alternative name.1 That parent is the more useful description. The bug is that the server relays a request it should not, and the relay carries the server’s network position, its local trust and sometimes its credentials.

Norm Hardy gave the general shape a name in a paper published in 1988. In what he called “a nearly true story” with “inessential details” changed, a compiler at Tymshare had a licence to write to its own home directory, and a user who named the billing file as the destination for debugging output had it overwritten. In Hardy’s words, the compiler “serves two masters and carries some authority from each to perform its respective duties” and “has no way to keep them apart”.2 A server that fetches a URL for a user is in the same position. It acts on the user’s choice of destination, with whatever network reach and loopback access the server has and, where the server can reach a credential source such as an instance’s attached role, those credentials too. Microsoft’s documentation for its newest metadata protection uses the same vocabulary, listing “confused deputy attacks against in-guest workloads” among the common ways the metadata service is attacked.3

The features that create the deputy are ordinary. OWASP’s prevention cheat sheet lists fetching an avatar image from a URL, rendering HTML to PDF, delivering webhooks and calling internal services as typical sources.4 AI tools that browse, fetch documents into a model’s context, load images for vision models or connect to remote tool servers belong on the same list; the LangChain retriever discussed below had this flaw in 2024. Each of these is a URL fetcher in front of a network that the requester could not otherwise reach.

The weakness sits next to two others covered in this library. The input is data that ends up choosing an action, as in injection flaws, and the consequence is often an authorisation failure, since the internal service trusts the request because of where it comes from rather than who asked for it, a pattern familiar from API authorisation flaws.

What the attacker gets back

How much an SSRF is worth depends on what the server can reach, what credentials it holds or can obtain, what the attacker controls and what comes back. Three variables describe the request itself.

The first is the response. In a full-response SSRF the fetched body is returned to the attacker, as when a preview feature displays the page or an importer reports what it parsed. In a blind SSRF the server makes the request but returns nothing useful. PortSwigger’s training material notes that blind SSRF findings “cannot be trivially exploited to retrieve sensitive data” from back-end systems, though “in some situations they can be exploited to achieve full remote code execution”, and that out-of-band callbacks to an attacker-controlled domain are the most reliable way to detect them.5 Between the two sit partial channels such as status codes, timing, error messages and content-length differences. Whether any of these leaks something useful depends on the fetcher and the target, but they can be enough to tell open from closed internal ports. An MCP server advisory listed in March 2026 for the Home Assistant integration ha-mcp is titled for such a case: “network reconnaissance via an error oracle”.6

The second is the request. Some bugs give the attacker only the URL; the server chooses the method and headers. Others let the attacker set a method, inject headers or control the body, often because the URL flows into a library that builds the whole request from it. AWS’s own analysis in 2019 found “many SSRF vulnerabilities that allow attackers to set arbitrary headers because the SSRF vulnerability impacts the application’s own header processing”.7 That distinction decides whether the metadata defences discussed below work.

The third is protocol. Orange Tsai’s Black Hat USA 2017 talk, “A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages!”, showed that when an HTTP client can be persuaded to put carriage-return and line-feed characters into the request line or the TLS Server Name Indication field, a request aimed at a text protocol such as Redis, Memcached or SMTP can carry that protocol’s commands. His GitHub Enterprise case study chained an SSRF in the webhook feature, a second SSRF in an internal Graphite service bound to loopback, a CR-LF injection and unsafe deserialisation of cached data into remote code execution.8 The trust assumption is the lesson: each internal service expected that only local code would talk to it.

Exploited SSRF bugs are not confined to cloud credential theft. MITRE’s observed examples for CWE-918 include CVE-2021-26855, the SSRF in Microsoft Exchange Server that opened the ProxyLogon chain, and CVE-2021-21973 in a cloud platform, both marked as exploited in the wild per CISA’s catalogue.1

How common it is, and what the counts measure

The rankings disagree about how prominent SSRF is, and the disagreement is informative. OWASP’s 2021 Top 10 added SSRF as A10 “from the Top 10 community survey (#1)” while noting that its data showed “a relatively low incidence rate with above average testing coverage”, an average incidence of 2.72 per cent.9 None of the ten 2025 categories is SSRF; the Broken Access Control page names CWE-918 among the category’s notable CWEs.1011 In MITRE’s 2025 CWE Top 25, CWE-918 ranks 22nd with a score of 3.36, three places lower than the year before; MITRE’s table shows zero KEV entries among the CVEs mapped to it in that edition’s dataset, which covers CVE records for vulnerabilities published between 1 June 2024 and 1 June 2025.1213 The CVE, CWE and CAPEC article explains how such scores are built and why they mix frequency with severity.

The KEV catalogue gives a different view. I downloaded CISA’s KEV JSON feed on 4 December 2026 (catalogue version 2026.12.04, 1,814 entries) and counted entries whose cwes field contains CWE-918: there were 26. Sixteen of those have a dateAdded on or after 1 January 2025, including an MLflow SSRF on 19 August 2026, two Plex Media Server SSRF flaws on 20 October 2026, and an N-able MailAssure SSRF on 23 November 2026.14 The KEV cwes field is assigned per entry, an SSRF in the catalogue may carry a different or no CWE tag, and some tagged entries are named for other weaknesses (a GeoServer XML injection and a Kestra command injection among them), so 26 is an approximate count of what the tag says. Addition dates record when CISA catalogued an entry, which can be years after exploitation began; six of the sixteen recent additions carry CVE identifiers from 2019 to 2021, four of them from 2021.

To see whether AI tooling has changed the mix, I queried GitHub’s global advisory database through its REST API on 4 December 2026 for advisories tagged CWE-918 whose published_at date (the date GitHub listed the advisory) falls between 1 January 2024 and 4 December 2026, retrieving every page at 100 results per page, then searched each advisory’s summary and description, case-insensitively, for “MCP” as a whole word or the phrase “Model Context Protocol”.15 The query returned 342 advisories published in 2024, 524 in 2025 and 2,226 in 2026 to date. Of these, 4 in 2025 and 146 in 2026 matched the MCP terms; restricted to advisories that GitHub had reviewed, the MCP matches were 3 of 98 in 2025 and 62 of 699 in 2026. These figures count advisory listings in one database. They do not date the discovery or exploitation of the bugs, the database imports unreviewed CVE records alongside reviewed ones, and a keyword match can include advisories where MCP is incidental. Within those limits the share changed: MCP terms appear in under 1 per cent of the 2025 CWE-918 listings and about 6.6 per cent of the 2026 listings to date.

Why validating the URL keeps failing

A recurring pattern in the defences described by the advisories below is to parse the URL, look at the host, perhaps resolve it, compare against a list, and if it passes, hand the original string to an HTTP client. Every step in that sequence is a place where the check and the use can disagree.

Two parsers read one string

Tsai’s 2017 talk summarised the problem on one slide: “It’s all about the inconsistency between URL parser and requester”.8 Two specifications describe URLs: RFC 3986, the generic URI syntax of January 2005, and the WHATWG URL Standard, whose stated goal is to “Align RFC 3986 and RFC 3987 with contemporary implementations and obsolete the RFCs in the process”.1617 Tsai’s slides added that “different languages still have their own implementations”. They showed URLs combining @, # and whitespace on which libraries disagreed: for one such input, PHP’s parse_url, Perl’s URI module, Ruby’s addressable and Node.js’s url module were marked as reading the host differently from cURL. A validator that sees an allowed host while the client connects to another is the whole bug. He reported one case to the cURL project and got a patch, and showed a variant that cURL would not change.8 He also showed resolver behaviour as a source of disagreement in glibc: gethostbyname() accepted decimal escapes in names, and getaddrinfo() on Linux ignored trailing characters after whitespace, which Python’s socket functions inherited; and some libraries that decoded a URL twice turned an encoded tab into a real one between check and use.8

Internationalised domain names added another layer. Tsai’s slides tabulated how IDNA2003, UTS #46 and IDNA2008 map some Unicode labels to different ASCII names, and one of the bypasses in Tsai’s case study of forum and blog software turned on a DNS check that applied no IDNA conversion while cURL did, so the check failed open on a name the fetcher could still resolve.8

Claroty’s Team82 and Snyk extended the survey in January 2022, examining 16 URL parsing libraries and tools, classifying five kinds of inconsistency (scheme confusion, slashes confusion, backslash confusion, URL-encoded data confusion and scheme mixup) and reporting eight CVEs. Their summary of the root cause was that “one URL parser could interpret a URL differently than another”.18

The name resolves twice

Even with identical parsing, a check that resolves a hostname and a client that resolves it again are reading DNS at two different moments. An attacker who controls a domain can serve a short-lived record that points to a public address on the first lookup and to an internal address on the second. This is DNS rebinding used against a server, and it is a time-of-check to time-of-use race in the CWE-367 sense. OWASP’s cheat sheet states the consequence plainly: “Domain allowlisting alone does not prevent DNS rebinding.” Its prescription is to check the resolved addresses and make the HTTP client connect only to those validated addresses, while keeping the original hostname for the Host header, SNI and certificate verification, and to apply the same policy to retries and fallback connections.4

The 2026 advisories for mcp-atlassian, an MCP server for Jira and Confluence, show how easily the rule is missed. The first advisory, listed in GitHub’s advisory database on 10 March 2026, found that in multi-tenant HTTP mode an unauthenticated caller could supply the Jira or Confluence base URL in request headers and the server would fetch from it with “no private IP range blocklist” and “no URL scheme allowlist”; the advisory pointed out that in cloud deployments this could reach the instance metadata endpoint.19 The fix resolved the host once in middleware and checked that it was globally routable. A follow-up listed on 10 July 2026 described the gap: the validator resolves the header-supplied host “once at middleware time and trusts the result”, but the outbound request “re-resolves at connect time with no IP pinning”.20 A further advisory listed in September 2026 described the same rebinding timeline in the header-based authentication flow, with the fix arriving in version 0.22.0.21

IBM’s ContextForge MCP gateway has two advisories of the same kind: one in August 2026 titled “DNS TOCTOU race condition causes SSRF protection bypass”, and one in December 2026 attributing an SSRF to “improper pinning of resolved addresses for user-supplied MCP server URLs”, which let an authenticated user list and invoke tools on internal MCP servers reachable from the gateway.2223

Redirects move the destination after the check

An HTTP client that follows redirects will connect to whatever the first server tells it to. A validator that inspected only the first URL has validated a server the attacker controls. OWASP’s advice is to “Disable the support for the following of the redirection” in the web client.4 Tsai noted that GitHub Enterprise’s webhook fetcher already refused 302 redirects, which is why his chain needed other steps.8

The MLflow vulnerability that CISA added to KEV in August 2026 combined both of the last two failures. According to its CVE record, MLflow’s webhook test endpoint called its URL validator “only for the original URL”, while the delivery code “follows redirects and re-resolves the hostname without pinning the validated address”, allowing attackers “to reach internal or cloud metadata services and receive response_status and response_body”.24 The maintainers’ advisory describes the guard as one that “validates but pins nothing”, notes that the endpoint was unauthenticated on a default server without MLflow’s optional authentication, and lists 3.15.0 as the fixed version.2514 The fix did not end the matter. A follow-up change merged on 3 September 2026 and shipped in 3.16.0 made the guard decode IPv4-mapped, 6to4 and NAT64 addresses, closing “two bypasses of the CVE-2026-64849 fix”.26

A different failure looks similar from outside: the check exists and is correct, but some call sites never use it. One of the September 2026 mcp-atlassian advisories reported that the earlier fix had attached a redirect-validation hook to the fetcher’s HTTP session, but one user-lookup function called the library’s module-level request function instead of the hooked session, “so the redirect-validation hook never runs for it”.27 Flowise had an advisory of the same kind listed in April 2026, titled “SSRF Protection Bypass via Direct node-fetch / axios Usage (Patch Enforcement Failure)”, for code that called HTTP libraries directly instead of through its protective wrapper.28 MLflow’s original defect was a check applied only to the first destination; the Atlassian and Flowise defects were requests that bypassed the intended client entirely. A protection that each call site must remember to use protects only the call sites that remember.

One address has many spellings

The final comparison against a list of forbidden ranges assumes that the address is in a canonical form. It often is not. IPv4 addresses can be written in decimal, octal, hexadecimal or as a single integer, and OWASP’s cheat sheet records that some validation libraries in common use accept such forms while others reject them, recommending a vetted library and comparison on that library’s normalised output.4 IPv6 multiplies the problem in three different ways. First, IPv4-mapped addresses (::ffff:0:0/96, RFC 4291) are a way of writing an IPv4 address in IPv6 form, and a dual-stack socket given one connects to the IPv4 address. Second, transition and translation prefixes carry an IPv4 address in their bits: 6to4 at 2002::/16 (RFC 3056), the well-known NAT64 prefix 64:ff9b::/96 (RFC 6052) and 64:ff9b:1::/48, which RFC 8215 reserves “for local use within domains that enable IPv4/IPv6 translation mechanisms”.2930 Whether a request to one of these reaches an internal IPv4 service depends on whether the host’s network actually has such a translator or relay. Third, IPv6 has its own non-public space, unique-local fc00::/7 and link-local fe80::/10, which a check written only for IPv4 ranges ignores.29 OWASP’s table of ranges to deny includes IPv4-mapped and NAT64 forms and advises normalising to native IPv4 before comparing.4

The advisories show each of these gaps in turn. The mcp-fetch-server package, an MCP tool whose whole purpose is fetching URLs for a model, had validation that “fails to block IPv4-mapped IPv6 addresses” and also missed hexadecimal IPv6 literals, a trailing-dot localhost and *.localhost names; GitHub’s database lists it as critical, listed on 2 December 2026.31 n8n-mcp had the IPv4-mapped bypass in April 2026, Flowise in August 2026 and auth-fetch-mcp in July 2026.323334 The Model Context Protocol’s own registry service had an unauthenticated SSRF in its login flow, listed on 8 May 2026, because its block-list relied on Go’s standard library predicates for loopback, private, link-local, multicast and unspecified addresses, and “None of these cover IPv6 6to4 (2002::/16), NAT64 (64:ff9b::/96 and 64:ff9b:1::/48 per RFC 8215), or deprecated site-local (fec0::/10)”.35 Using the standard library was a reasonable choice. The library’s notion of “private” was simply narrower than the attack surface.

Cloud platforms add addresses that a generic list may not anticipate. AWS’s metadata service has an IPv6 endpoint, fd00:ec2::254, on Nitro instances in IPv6-enabled subnets when it is turned on.36 Azure runs two platform services in the guest’s view: IMDS at 169.254.169.254, which issues managed-identity tokens, and WireServer at 168.63.129.16, a platform endpoint used by the guest agent which Microsoft groups with IMDS as services used for “providing metadata and bootstrapping VM credentials”.337 168.63.129.16 is outside the RFC 1918 private ranges, so a deny-list of “private” ranges misses it.

Why allow-lists help less than they seem

Where the set of legitimate destinations is known, OWASP recommends an allow-list and calls the deny-list approach for arbitrary external destinations a “last resort”.4 An allow-list of hostnames still leaves the questions above. The allowed name must be resolved, its answer must be pinned for the connection, and any redirect the allowed host returns must be checked again. An allowed host that itself has an open redirect, or whose DNS the attacker can influence, turns the allow-list back into a deny-list problem. An allow-list of resolved address ranges is stronger, though few applications that fetch user-supplied URLs can enumerate where their users’ content lives.

Tsai’s own mitigation slide in 2017 had two lines. At the application layer: “Use the only IP and hostname, do not reuse the input URL”. At the network layer: “Using Firewall or NetWork Policy to block Intranet traffics”.8 The rebinding and redirect bypasses described above in mcp-atlassian, ContextForge and MLflow each reused a hostname or URL after checking it, which is what the first line warns against.

Cloud virtual machines need configuration and, when an identity is attached, credentials. AWS, Google Cloud and Azure each deliver these through a metadata service reachable over HTTP from inside the instance; Google also offers an HTTPS metadata endpoint, in preview, for Shielded VMs.38 AWS described its design in 2019: the service “runs on a special ‘link local’ IP address of 169.254.169.254 that means only software running on the instance can access it”, and it “makes the AWS credentials available for any IAM role that is attached to the instance”.7 The arrangement solved a real problem, since it removed long-lived keys from images and configuration files and replaced them with temporary, frequently rotated credentials.

It also created a high-value target for SSRF. The trust boundary of the metadata service is the instance. Microsoft’s documentation states it directly: “With metadata services, the trust boundary is the VM itself. Any software within the guest is authorized to request secrets.”3 Its IMDS page adds that “IMDS is not a channel for sensitive data. The API is unauthenticated and open to all processes on the VM.”37 An application that fetches URLs on a user’s behalf is software within the guest. If an instance has a role attached and the application can be made to request the metadata path for role credentials and return the body, the attacker holds credentials for whatever that role may do, usable through the provider’s ordinary APIs. The analysis of standing cloud credentials in this library covers what happens once such credentials leave their intended holder.

Capital One, 2019: what the record says

The 2019 Capital One breach is often discussed alongside SSRF and the metadata service. The primary documents say less about the mechanism than some of those accounts. The least privilege article examines the role permissions; this section concentrates on the request path.

The criminal complaint against Paige Thompson, filed on 29 July 2019 in the Western District of Washington, includes an FBI affidavit. It says that a file posted to GitHub “contained the IP address for a specific server. A firewall misconfiguration permitted commands to reach and be executed by that server, which enabled access to folders or buckets of data in Capital One’s storage space”. The file held “code for three commands”. According to Capital One’s analysis, the first command “obtained security credentials for an account known as ***-WAF-Role”, the second listed buckets, and the third copied data from buckets “for which the *-WAF-Role account had the requisite permissions”. The affidavit adds that, according to Capital One’s logs, the role was used to list buckets and copy data on or about 22 March 2019, and that “According to Capital One, the ***-WAF-Role account does not, in the ordinary course of business, invoke the List Buckets Command.”39

The superseding indictment of June 2021 generalised the scheme. It alleged that Thompson built scanners to find cloud customers’ servers “for which web application firewall misconfigurations permitted commands sent from outside the servers to reach and be executed by the servers”, then sent commands “that obtained the security credentials for particular accounts or roles”, and used those credentials to list and copy storage. It alleged data theft from more than 30 entities and cryptocurrency mining on victims’ servers.40 The Ninth Circuit’s 2025 opinion on her sentence records that a jury convicted her in June 2022 of one count of wire fraud and six counts of computer fraud and abuse, and states that she obtained credentials from at least 200 entities.41

None of these court documents uses the words “server-side request forgery” or “metadata service”. The SSRF label, and the specific claim that the web application firewall relayed requests to 169.254.169.254, come from later technical reconstruction. An MIT Sloan case study by Novaes Neto, Madnick and colleagues, presented in March 2020, cites CloudSploit’s analysis and Brian Krebs’s reporting for the SSRF description and Krebs for the identification of the firewall as ModSecurity, and then reconstructs a request for role credentials from the metadata service.42 The reconstruction fits the documents: a role named for the WAF, credentials obtained by a command sent through a misconfigured firewall, and a cloud provider whose instance credentials come from the metadata service. It remains an inference by outside analysts. The court documents establish a misconfiguration that let commands reach a server, the acquisition of credentials for the WAF role, and the use of those credentials against storage; they do not state the request path by which the credentials were obtained, or what permissions the WAF legitimately needed. AWS’s November 2019 announcement of IMDSv2 does not name Capital One, but its first listed threat is “misconfigured-open website application firewalls”, observing that some third-party WAFs “can be misconfigured to allow attackers unauthorized access to the network behind the WAF, including the EC2 IMDS”.7

The consequences are documented. Capital One’s incident page says the access occurred on 22 and 23 March 2019, that it determined the intrusion on 19 July 2019 after a report from an outside security researcher, and that the incident affected “approximately 100 million individuals in the United States and approximately 6 million in Canada”, including about 140,000 Social Security numbers and about 80,000 linked bank account numbers.43 The Ninth Circuit opinion gives the US figure as 98 million.41 In August 2020 the Office of the Comptroller of the Currency imposed an $80 million civil money penalty. Its consent order, which the bank neither admitted nor denied, found that “In or around 2015, the Bank failed to establish effective risk assessment processes prior to migrating its information technology operations to the cloud operating environment”, and that it lacked appropriate “network security controls, adequate data loss prevention controls, and effective dispositioning of alerts”.44 The regulator’s findings concern governance and control design and say nothing about the request path.

For a defender the useful reading is narrow. On the complaint’s account, a misconfigured component let outside commands reach a server, credentials for a role were obtained, and the role could list and copy the buckets involved. Had the role lacked those storage permissions, the documented data access would not have followed, although the misconfiguration and the credential acquisition would still have needed fixing. Whether the WAF needed any of those permissions is not in the public record.

IMDSv2: what changed

AWS announced IMDSv2 on 19 November 2019 in a post by Colm MacCárthaigh. It added four protections, each aimed at one way an outsider might reach the service through something on the instance.7

Session tokens obtained with PUT. A client must first send an HTTP PUT to a token endpoint, with a header stating the token lifetime, and then present the returned token in a header on every metadata request. The EC2 documentation gives the lifetime range as one second to six hours, and says the token “is not valid on other EC2 instances”.36 AWS chose PUT because transparent WAFs rarely pass it: “Our analysis of third-party WAF products and open WAF misconfigurations found that the vast majority do not permit HTTP PUT requests.”7

No tokens for forwarded requests. Reverse proxies normally add an X-Forwarded-For header, and “IMDSv2 will also not issue session tokens to any caller with an X-Forwarded-For header”.7 The condition applies at token issuance. The current documentation says “PUT requests are rejected if they contain an X-Forwarded-For header.”36

Protection against URL-only SSRF. Because the attacker must issue a PUT with a custom header and then carry a token into a second request, an SSRF that controls only the URL cannot complete the exchange. AWS argued the combination “is always strictly more effective than requiring only a static header” and that its “analysis of real-world vulnerabilities found that this combination protects against the vast majority of SSRF vulnerabilities”.7 That is AWS’s assessment of its own design; the underlying analysis was not published.

A one-hop token response. This protection is separate from the SSRF case and aimed at a different misconfiguration. The PUT response carrying the token is sent with an IP time-to-live of 1 by default, so it cannot leave the instance if the instance has been misconfigured as a router, NAT, VPN endpoint or layer-3 firewall.7 The limit is configurable from 1 to 64.45

What IMDSv2 does not change

Each of those protections has a stated scope, and outside it the service behaves as before.

An SSRF that lets the attacker choose the method and add headers can perform the token exchange itself, provided it can also read the response to the PUT. AWS’s own text concedes the premise when it describes SSRF bugs that “allow attackers to set arbitrary headers”.7 Chained bugs of the kind Tsai demonstrated, where header or protocol injection follows a URL-level SSRF, fall in the same category.8

Code execution on the instance defeats any metadata design whose trust boundary is the instance. A process that can run commands can fetch a token as legitimately as the SDK does. Microsoft’s description of Azure’s guest-side protection makes the same point in reverse: it exists because “Any software within the guest is authorized”.3

The hop limit and containers can pull in opposite directions. AWS’s documentation says that “In a container environment, a hop limit of 1 can cause issues”, and recommends a hop limit of 2 in container environments when IMDSv2 is required.4546 Whether a given container needs the extra hop depends on how its networking is set up. Hop limits come from several places. The console’s suggested settings when an account default of IMDSv2-only is set include a hop limit of 2, and AMIs marked ImdsSupport: v2.0 set 2 unless something with higher precedence overrides it; the documented order is launch configuration first, then account settings, then the AMI.4645 Where an SSRF-vulnerable application sits inside a container whose instance allows two hops, it can obtain a token if it can issue the PUT and read the response.

IMDSv1 also remained available for years. The EC2 documentation still says “By default, you can use either IMDSv1 or IMDSv2, or both”, with the protections taking full effect only when an instance is configured to accept IMDSv2 alone.36 AWS has moved defaults in stages, which its November 2023 post lists: Amazon Linux 2023, launched in March 2023, uses IMDSv2 by default; console Quick Start launches became IMDSv2-only in November 2023; and it announced that “Effective mid-2024, newly released Amazon EC2 instance types will use only version 2”, while it would remain possible to “enable/turn on IMDSv1 at launch or after launch”.47 That last item was a plan; I did not find rollout evidence for it. On 25 March 2024 AWS added a per-Region account-level default under which “any new instances launched from your account will be IMDSv2-only by default”, noting that “Enabling these defaults do not affect any existing instances”.48 Defaults of this kind apply when nothing with higher precedence says otherwise, and a launch that explicitly sets IMDSv1 still gets it.45 The current documentation also describes a separate account-level enforcement setting under which instances “can only launch if they’re configured to require IMDSv2”, applied directly or through AWS Organizations declarative policies. Enforcement does not change existing instances’ settings but “blocks enabling IMDSv1 on existing instances that currently have IMDSv1 disabled”.46

Neither the defaults nor enforcement converts instances already running with IMDSv1 enabled. Datadog’s 2024 State of Cloud Security report, based on its customers’ data collected in September 2024, reported two figures for IMDSv2 enforcement among the “thousands of organizations” in its sample: averaged per organisation, they enforced it on 47 per cent of their EC2 instances, up from 25 per cent a year earlier; across all sampled instances, 32 per cent had it enforced.49 That is the most recent published figure I found; Datadog’s 2026 edition, updated November 2026, does not report one.50 These are configuration settings among one vendor’s customers. They do not measure how many instances actually served IMDSv1 requests, and they are not a census of AWS.

Google and Azure: a header and a refusal

Google Compute Engine and Azure took a simpler route. Both require a fixed request header and both refuse requests that look proxied.

Google’s metadata server requires Metadata-Flavor: Google; “If you don’t provide this header, the metadata server denies your request.” It also states that “Any requests that contain the header X-Forwarded-For are automatically rejected by the metadata server.”38 Google deprecated its older v0.1 and v1beta1 metadata endpoints on 30 September 2019 and shut them down on 30 September 2020.51

Azure’s IMDS requires that requests “Must contain the header Metadata: true“ and “Must not contain an X-Forwarded-For header”, and it documents per-VM rate limits for the identity category that issues managed-identity tokens.37 The page tells VM owners that if not every process needs the service, “you can set local firewall rules to limit the access”.37

A static header protects against the documented URL-only case as long as the fetcher does not send that header itself: the attacker cannot add it. It does not protect against an SSRF that sets headers, and that is the basis of AWS’s claim that its session design is “strictly more effective”.7 The two designs also differ in what they ask of legitimate clients and in how they interact with proxies, so they are not simply stronger and weaker versions of one control. The cited sources give no count of real SSRF bugs that allow header injection but not a readable PUT.

Microsoft’s newer answer moves the check off the network path. Its Metadata Security Protocol, still documented as a preview when this article was researched, installs a Guest Proxy Agent that uses eBPF to intercept requests to IMDS and WireServer, identifies the requesting process, compares it with an allow-list held in the VM’s Azure Resource Manager model, and endorses permitted requests with an HMAC signature that the metadata service verifies. Microsoft describes this as “Switching from a default-open model to a default-closed model” and says that “Bypassing interception maliciously or by error doesn’t grant access to the metadata service.”3 Microsoft says to start in Audit mode before moving to Enforce, and that by default the existing authorisation levels apply, with IMDS “open to all users”; restricting particular processes and users to particular endpoints requires a custom allow-list.3 With MSP in Enforce mode and a policy that excludes it, a web server process that has no reason to request tokens would be refused, so an SSRF in that process could not obtain them whatever headers it sent. Under those conditions MSP moves the trust boundary from the VM to the process. It still depends on the identity of the process. A compromised process that is on the list, or code that can act as it, keeps the access, and the preview and operating-system limits described below restrict where MSP can be used.

The providers therefore disagree about where the problem lies. AWS’s 2019 and 2023 posts call IMDSv1 “fully secure” and present IMDSv2 as added layers.747 Microsoft’s MSP documentation says that “providing secrets over an unauthenticated HTTP API carries inherent risk” and that across the industry “this class of vulnerabilities has affected hundreds of companies”.3 Both positions can be held at once: the service may be correctly implemented while its access model, any local process may ask, is what SSRF exploits.

AI tools bring the class back

Agent tooling changes the old pattern in two ways. Fetching is often the purpose of the tool, since connecting a model to web pages, documents and remote services is what many agent frameworks and tool servers are for. And in agent use the URL may be chosen by a model reading content that an attacker wrote, which removes even the weak assurance that a human typed it.

MITRE’s CWE-918 entry now opens its observed examples with AI cases: CVE-2026-33626, an SSRF in an LLM toolkit that fetches arbitrary image URLs; CVE-2024-3095, in the URL retriever of an LLM application framework; and CVE-2023-32786, a chain in which prompt injection makes a service retrieve data from an arbitrary URL.1 The 2024 LangChain record describes a web research retriever that did not restrict requests to internet addresses and could, “in some scenarios”, read cloud instance metadata, limited to GET requests.52 Prompt injection as a delivery route appears in the MCP advisories too. The mcp-video-analyzer advisory of November 2026 says attackers “can use prompt injection” to make its frame-extraction tool fetch loopback, private or metadata addresses “directly or via redirects”.53

Attempts against the first of those CVEs followed its disclosure quickly. CVE-2026-33626 affected LMDeploy, an inference toolkit whose vision-language image loader, according to the maintainers’ advisory, “fetches arbitrary URLs without validating internal/private IP addresses”; the CVE record gives 0.12.3 as the fixed version.5455 Sysdig’s threat research team ran a vulnerable LMDeploy honeypot and observed the first exploitation attempt “Within 12 hours and 31 minutes” of the advisory’s publication, starting its clock at the advisory’s appearance on GitHub’s central advisory listing (21 April 2026, 15:04 UTC) and not at the repository advisory, which GitHub records as published on 18 April.5654 According to Sysdig, the attacker’s first request went directly to the AWS metadata service’s IAM credentials path, followed by probes of Redis and MySQL on loopback and an out-of-band DNS callback to confirm blind SSRF.56 These were attempts against a decoy; Sysdig does not report what the attacker obtained elsewhere.

In my query, 146 of the 2026 CWE-918 listings matched the MCP keywords; some matches may be incidental, so this is a count of advisories mentioning the protocol, not of MCP servers. The specification describes hosts (“LLM applications that initiate connections”), clients (“Connectors within the host application”) and servers (“Services that provide context and capabilities”), and says that tools “represent arbitrary code execution and must be treated with appropriate caution”.57 Many servers exist to fetch things for the host: web pages, documents, issue trackers, data portals and OpenAPI specifications. The advisories I read fall into recognisable groups.

  • Fetch tools with weak or no destination checks, such as mcp-fetch-server and the Markdownify MCP server, the latter published in May 2025 and the earliest MCP match in my query of GitHub’s database.3158
  • Servers that take the upstream service URL from the caller. mcp-atlassian in multi-tenant HTTP mode took the Jira or Confluence URL from request headers; Apache’s advisory for SkyWalking’s MCP server describes an SSRF “via SW-URL Header”, fixed in 0.2.0.1959 IBM’s Langflow advisory of December 2026 is a variant: an internal client meant to call the server’s own API derived its destination from the Host header, and “These requests carried authentication headers and operator-configured environment secrets”.60
  • Gateways and clients that connect to user-supplied MCP server URLs, such as ContextForge.23
  • Schema and specification loaders that follow references, including mcp-from-openapi with “SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications” in April 2026, and AgentCrew, where a malicious MCP server could return tool schemas whose $ref values pointed at “credential files or internal metadata endpoints” that the client resolved “without user approval”.6162 In the second case the confused deputy is the MCP client and the attacker is the tool server.
  • Cloud vendors’ own MCP servers. Microsoft’s Azure MCP Server advisory of 10 March 2026 described an SSRF that “allows an authorized attacker to elevate privileges over a network”; the GitHub advisory gives no further mechanism.63

Two projects show fixes that did not hold. mcp-atlassian shipped a first fix in version 0.17.0, after which advisories for DNS rebinding, an unhooked redirect path and further bypasses were listed, with the remaining set fixed in 0.22.0 in September 2026.19202721 Three advisories were listed for the CKAN MCP server: a base-URL SSRF in March 2026, a “Potential fix bypass” in July and an “incomplete fix” in September, whose text reports that the guard checked only the hostname string and “has never resolved DNS”, so names resolving to internal addresses passed; GitHub’s entry lists 0.4.108 as the first patched version.646566 In the mcp-atlassian case the later gaps were rebinding, an unhooked call path and redirect handling; in the CKAN case the checks did not resolve names at all. The same pattern runs through the incomplete patches article.

The AWS warnings of November and December 2026

Amazon published findings from a 12-month review of its MadPot honeypot network on 3 December 2026, in a post by Amy Herzog, AWS’s chief information security officer; GBHackers reported them the next day under the headline “AWS Warns Hackers Could Steal Cloud Credentials Through Exposed AI Servers as Attacks Surge”.6768 Amazon’s post says that “Internet-exposed AI systems, such as self-hosted inference servers, model gateways, and Model Context Protocol (MCP) servers, are now the fastest-growing targets”, that “These systems are attractive because they can hold cloud credentials”, and that, in MadPot’s telemetry, exploit attempts against known vulnerabilities in the AI software it tracks “grew from roughly 680,000 in Q1 to 6.2 million in Q3” of 2026, against about 80 per cent growth for the other technologies it tracks.67 The post discusses credential theft as an attacker goal but does not attribute the trend to SSRF or mention the metadata service.

An earlier AWS Security Blog post, by Amazon’s CJ Moses on 13 November 2026, does. It describes requests that MadPot sensors posing as LLM inference APIs captured between 3 October and 5 November 2026, carrying agents’ own records of offensive campaigns; Amazon assesses “with moderate confidence” that the open-source agent framework ARTEX was used. According to those records, the agents’ playbook for compromising AI gateways and application builders included “SSRF through URL-fetch features to cloud metadata services” alongside default credentials and known CVEs.69 What MadPot observed directly was the requests; the campaigns’ results are the agents’ own reports, and Amazon says it “cannot verify the outcomes the agents reported”. The post’s conclusion is modest: “None of the techniques in these campaigns were new. What AI agents change is the speed and persistence of the attacker.”69 The containing AI agents article covers the other half of the problem, what an agent’s own sandbox and borrowed identity let it reach.

What a developer can do, and how far it goes

The developer’s controls work by reducing what the fetch can choose and making the check and the connection the same event.

Remove the fetch where the design allows. A feature that accepts uploaded files instead of URLs, or that fetches only from a fixed partner list, has no general SSRF surface. Where users must supply URLs, an allow-list of destinations (OWASP’s first case) is the strongest application-level control, provided it is enforced on resolved addresses at connect time.4

Validate the address the socket actually connects to. Resolve the name once, check every returned address against the policy, connect to a validated address, and keep the original name only for the Host header, SNI and certificate checks.4 In most languages this means hooking the HTTP client’s connection or dialer layer instead of calling a validation function beforehand. For connections made through that client, it enforces the address policy on the address actually used, including connections after a redirect or a retry, and so removes the rebinding gap and the risk that a parser differential sends the socket somewhere the validator did not check. It does not replace checks on the URL itself, such as scheme, port and which origins the feature may contact, and those must be repeated for each redirect. Tsai’s “do not reuse the input URL” is the same advice.8

Treat redirects as new requests. Either turn them off or route each hop through the same connect-time check. Then search the codebase for any other HTTP call that does not use the hardened client. The advisories show distinct failures: MLflow checked the first destination but not the ones it was redirected to, while Flowise and the mcp-atlassian redirect case had calls that bypassed the designated client or wrapper altogether.252827

Deny special ranges after normalisation. Examples include IPv4 loopback, private, link-local (which holds 169.254.169.254), carrier-grade NAT, multicast, unspecified and reserved; IPv6 loopback, link-local, unique-local (which holds AWS’s fd00:ec2::254); and IPv6 forms that carry an IPv4 address, including IPv4-mapped, NAT64 and 6to4.42936 The list is a starting point: the policy has to cover the routes, translators and platform endpoints that exist in the actual deployment, including provider addresses outside the usual ranges, such as Azure’s 168.63.129.16.3 Do not rely on a language’s “is private” predicate without checking what it covers; the MCP Registry’s advisory is a case study in that assumption.35

Restrict schemes and ports to what the feature needs; for many fetch features that is HTTP and HTTPS on their standard ports. That narrows the reachable targets, including the SMTP, Redis and Memcached ports Tsai used for protocol smuggling, but it does not by itself stop header or framing injection into whatever HTTP service remains reachable, which needs the client’s own header validation and network controls as well.84 Limit what comes back: do not return raw response bodies or detailed errors to the requester when the feature only needs, say, an image thumbnail. That reduces a full-response SSRF towards a blind one, though timing, status and error differences can still leak information, and blind SSRF can still be harmful.5

Run the fetcher somewhere that has nothing to steal. A separate fetch service, in its own network segment with no cloud role, no route to internal services and no metadata access, limits the blast radius of every bug above. It matters particularly for agent tools, where the set of URLs a model may be induced to request is open-ended.

How far these go: connect-time address validation addresses the rebinding, redirect and address-spelling bypasses seen in the 2017 talk and the 2026 advisories, for the requests that go through it. It does not cover an allowed destination that is itself compromised or that redirects into a second, permitted, internal system, and it relies on every fetch in the codebase using the hardened path. The mcp-atlassian and Flowise advisories are examples of that last condition failing.2728

What a cloud team can do, and how far it goes

The platform’s controls assume that application-level checks will sometimes fail.

Require IMDSv2 everywhere it can be required, and enforce it at the account or organisation level so that new launches cannot reintroduce IMDSv1.4648 AWS’s November 2023 post points to the MetadataNoToken CloudWatch metric as a way to find remaining IMDSv1 callers before enforcing.47

Set the hop limit to 1 on instances that do not run containers needing metadata access, and accept 2 only where workloads require it.46 Turn the metadata endpoint off on instances that need neither credentials nor metadata after launch, noting AWS’s warning that disabling it at launch can stop user data from running and the instance’s public SSH key from being delivered.46

On Azure, use local firewall rules to restrict IMDS to the processes that need it, and evaluate the Metadata Security Protocol, which in Enforce mode with a custom allow-list makes that restriction a signed, default-closed check; in Audit mode or with the default policy, IMDS remains open to all processes.373 Its preview status and its list of unsupported operating systems limit where it can be deployed today.3

Give each instance role only what the workload needs. In the Capital One complaint, the stolen role could list and copy buckets that held customer data.39 Least privilege does not prevent the theft of credentials; it bounds what they buy.

Enforce egress at the network layer. An egress proxy that resolves names itself and refuses internal addresses, such as Stripe’s open-source Smokescreen, which “resolves each domain name that is requested” and checks that the result is a “publicly routable IP address and not an internal IP address”, gives one place to enforce destination policy for the traffic sent through it.70 Its coverage depends on workloads being unable to bypass it, so direct egress from application subnets has to be blocked at the network layer. Security groups, network policies and segmentation that prevent the application tier from reaching admin interfaces, databases and other services it does not use apply Tsai’s second line.8 Note that the metadata service is reached on the host’s link-local interface; egress controls outside the instance do not stop a request to it, which is why IMDS-specific controls are needed as well.

How far these go: requiring IMDSv2 blocks the URL-only SSRF path to instance credentials on its own, because the attacker cannot send the PUT; the hop limit of 1 is a separate control against the instance forwarding the token response at layer 3. Least-privilege roles limit what any stolen credentials can do. IMDSv2 does not help against SSRF into other internal services, against header-controlling SSRF on instances where the PUT response can be read, or against code execution on the host. Segmentation helps against the first; after a host compromise it and least-privilege roles still bound how far the attacker can go, though neither keeps the attacker from the instance’s own credentials.

Where the sources differ

Deny-lists versus allow-lists. OWASP already separates the cases: an allow-list where the destinations are known, and for arbitrary external destinations a block-list it describes as a last resort.4 Features such as webhooks and link previews fall in the second case, and egress proxies such as Smokescreen exist for it, denying internal ranges by default while allowing public destinations.70 My reading of the bypass record above is that the cost of the second case depends on where the block-list is enforced. Written into each application it is repeated and partly bypassed; enforced once in a proxy on resolved addresses it is easier to keep complete, provided direct egress is closed.

Application fix versus platform fix. AWS presents IMDS hardening as defence in depth alongside application security, and OWASP recommends both application-layer and network-layer controls.74 The trade-off between them is my analysis, not a documented dispute. Where egress enforcement is available and effective, a network layer that denies internal routes covers flaws in many applications at once; where it is absent or can be bypassed, only the application’s own checks apply. Some of the MCP advisories describe servers run in multi-tenant HTTP mode or embedded through an SDK; the advisories do not say who controls egress in those deployments, which is the question an operator has to answer.1932

Session tokens, static headers or authenticated callers. AWS argues its token design is strictly stronger than a static header; Microsoft argues that any unauthenticated HTTP credential service carries inherent risk and moves to per-process authorisation.73 Google keeps the header and proxy refusal.38 None of the sources cited here publishes comparative data on how many real SSRF bugs each design stops.

How important SSRF is. OWASP’s 2021 list included it on the strength of its practitioner survey despite low measured incidence, and the 2025 edition has no SSRF category and lists CWE-918 under Broken Access Control; MITRE ranks it 22nd.9111012 Between 1 January 2025 and 4 December 2026, CISA catalogued sixteen CWE-918-tagged entries, and GitHub listed 2,226 CWE-918 advisories in 2026 to 4 December against 524 in 2025; catalogue and listing dates do not show when the bugs were found or exploited, so these counts cannot settle whether either rate has risen.1415 Rankings built on CVE counts also miss SSRF-like exposure that exists only as a misconfiguration, which is how the court documents describe the Capital One intrusion.39

Whether to call Capital One SSRF. The court documents allege a “firewall misconfiguration” that let outside commands reach a server, followed by credential acquisition and storage access, and they do not use the term SSRF; the jury verdict the Ninth Circuit records is on wire fraud and computer fraud counts, not a finding about mechanism.394041 The relay of requests to the metadata service is the MIT case study’s reconstruction from secondary reporting.42 In my analysis, if that reconstruction is right, the incident fits the confused-deputy pattern this article describes whether or not it is classed as a code weakness; AWS’s own announcement treats open WAFs and SSRF bugs as separate cases for IMDSv2 to address.7

Conclusion

Server-side request forgery persists partly because a URL fetcher must decide about a destination that the attacker can often change or disguise after the decision is made, and partly because many fetchers apply no destination policy at all. Parsers disagree about what the URL names, DNS can answer differently a second later, redirects move the target, and one address has many spellings. Fixes that validate a string before handing it to a client keep failing for those reasons, as the 2026 MCP server advisories illustrate: mcp-atlassian shipped a fix that was followed by rebinding and redirect bypasses, three advisories were listed for the CKAN MCP server, the third reporting a guard that never resolved DNS, and MLflow’s fix was followed by IPv6 hardening. The defences that held up in these cases combine URL and origin checks with an address check made at the moment of connection, at a dialer, an egress proxy or a network boundary, and put the fetcher where it has little to steal.

The cloud metadata service raised the stakes by placing role credentials at a link-local address that any process on the instance could ask for. IMDSv2, Google’s and Azure’s header and proxy checks, and Azure’s newer per-process authorisation each narrow which requests succeed. None of the network-path checks protects against code running with the instance’s own authority; Azure’s MSP, in Enforce mode with a policy that excludes them, can refuse unauthorised processes, though not an authorised one that has been compromised. IMDSv2 protects only instances that require it, which in Datadog’s September 2024 sample was 32 per cent of instances, or 47 per cent on average per organisation. AI agents and MCP servers have added URL fetchers in front of those services, some of which choose destinations from untrusted text. The research for this article was done on 4 December 2026; advisory counts and provider defaults are moving.

Footnotes

  1. CWE-918: Server-Side Request Forgery (SSRF), MITRE, accessed 4 December 2026. https://cwe.mitre.org/data/definitions/918.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  2. Norm Hardy, “The Confused Deputy (or why capabilities might have been invented)”, originally published in Operating Systems Review, vol. 22, no. 4, 1988 (copy at cap-lore.com). http://cap-lore.com/CapTheory/ConfusedDeputy.html (opens in a new tab) ↩
  3. Metadata Security Protocol (MSP), Azure Virtual Machines documentation, Microsoft Learn, updated 2 December 2026. https://learn.microsoft.com/en-us/azure/virtual-machines/metadata-security-protocol/overview (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
  4. Server Side Request Forgery Prevention Cheat Sheet, OWASP Cheat Sheet Series, accessed 4 December 2026. https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12
  5. Blind SSRF vulnerabilities, PortSwigger Web Security Academy, accessed 4 December 2026. https://portswigger.net/web-security/ssrf/blind (opens in a new tab) ↩1 ↩2
  6. GHSA-fmfg-9g7c-3vq7 (CVE-2026-32111), “ha-mcp OAuth 2.1 DCR mode enables network reconnaissance via an error oracle”, GitHub Advisory Database, listed 12 March 2026. https://github.com/advisories/GHSA-fmfg-9g7c-3vq7 (opens in a new tab) ↩
  7. Colm MacCárthaigh, “Add defense in depth against open firewalls, reverse proxies, and SSRF vulnerabilities with enhancements to the EC2 Instance Metadata Service”, AWS Security Blog, 19 November 2019. https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14
  8. Orange Tsai, “A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages!”, Black Hat USA 2017 slides. https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
  9. A10:2021 Server-Side Request Forgery (SSRF), OWASP Top 10:2021, accessed 4 December 2026. https://top10.owasp.org/2021/A10_2021-Server-Side_Request_Forgery_%28SSRF%29 (opens in a new tab) ↩1 ↩2
  10. OWASP Top 10:2025, list of categories, accessed 4 December 2026. https://top10.owasp.org/2025/ (opens in a new tab) ↩1 ↩2
  11. A01:2025 Broken Access Control, OWASP Top 10:2025, accessed 4 December 2026. https://top10.owasp.org/2025/A01_2025-Broken_Access_Control (opens in a new tab) ↩1 ↩2
  12. 2025 CWE Top 25 Most Dangerous Software Weaknesses, MITRE, accessed 4 December 2026. https://cwe.mitre.org/top25/archive/2025/2025_cwe_top25.html (opens in a new tab) ↩1 ↩2
  13. 2025 CWE Top 25 Methodology, MITRE, accessed 4 December 2026. https://cwe.mitre.org/top25/archive/2025/2025_methodology.html (opens in a new tab) ↩
  14. Known Exploited Vulnerabilities Catalog, JSON feed, catalogue version 2026.12.04, CISA, downloaded 4 December 2026; count of entries whose cwes field includes CWE-918. https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json (opens in a new tab) ↩1 ↩2 ↩3
  15. GitHub Advisory Database, REST API query for global advisories with CWE-918 and published_at 1 January 2024 to 4 December 2026, run 4 December 2026 (all pages at 100 per page; MCP matches by case-insensitive search of summary and description for the word “MCP” or “Model Context Protocol”). https://api.github.com/advisories?cwes=918&per_page=100&published=2024-01-01..2026-12-04 (opens in a new tab) ↩1 ↩2
  16. T. Berners-Lee, R. Fielding and L. Masinter, RFC 3986, “Uniform Resource Identifier (URI): Generic Syntax”, IETF, January 2005. https://www.rfc-editor.org/rfc/rfc3986.html (opens in a new tab) ↩
  17. URL Living Standard, Goals section, WHATWG, last updated 19 November 2026. https://url.spec.whatwg.org/ (opens in a new tab) ↩
  18. Noam Moshe (Claroty Team82, with Snyk), “Exploiting URL Parsing Confusion”, Claroty, 10 January 2022. https://claroty.com/team82/research/exploiting-url-parsing-confusion (opens in a new tab) ↩
  19. GHSA-7r34-79r5-rcc9 (CVE-2026-27826), “MCP Atlassian has SSRF via unvalidated X-Atlassian-Jira-Url / X-Atlassian-Confluence-Url headers”, GitHub Advisory Database, published 10 March 2026. https://github.com/advisories/GHSA-7r34-79r5-rcc9 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  20. GHSA-489g-7rxv-6c8q, “MCP Atlassian: DNS-rebinding TOCTOU bypass of the SSRF fix (CVE-2026-27826)”, GitHub Advisory Database, published 10 July 2026. https://github.com/advisories/GHSA-489g-7rxv-6c8q (opens in a new tab) ↩1 ↩2
  21. GHSA-49xv-9743-pw8w (CVE-2026-77265), “MCP Atlassian: SSRF via DNS Rebinding in Header-Based Authentication Flow”, GitHub Advisory Database, published 22 September 2026. https://github.com/advisories/GHSA-49xv-9743-pw8w (opens in a new tab) ↩1 ↩2
  22. GHSA-9hgc-g3w5-67cm (CVE-2026-53708), “ContextForge: DNS TOCTOU race condition causes SSRF protection bypass (/admin/gateways/test)”, GitHub Advisory Database, published 14 August 2026. https://github.com/advisories/GHSA-9hgc-g3w5-67cm (opens in a new tab) ↩
  23. GHSA-53pm-5288-63jw (CVE-2026-136657), IBM ContextForge MCP Gateway server-side request forgery, GitHub Advisory Database, published 2 December 2026. https://github.com/advisories/GHSA-53pm-5288-63jw (opens in a new tab) ↩1 ↩2
  24. CVE-2026-64849 (MLflow webhook test endpoint SSRF), National Vulnerability Database CVE API 2.0 record, published 17 August 2026. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-64849 (opens in a new tab) ↩
  25. GHSA-7gwp-5pfp-969j, “Unauthenticated full-read SSRF in MLflow webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebinding)”, mlflow/mlflow repository security advisory, GitHub, 2 August 2026. https://github.com/mlflow/mlflow/security/advisories/GHSA-7gwp-5pfp-969j (opens in a new tab) ↩1 ↩2
  26. Pull request #25568, “Reject IPv6-transition addresses embedding private IPv4 in webhook SSRF guard”, mlflow/mlflow, GitHub, merged 3 September 2026 (backported as #25578 and present in the v3.16.0 tag). https://github.com/mlflow/mlflow/pull/25568 (opens in a new tab) ↩
  27. GHSA-v9m3-wfh8-5646 (CVE-2026-77249), “MCP Atlassian: Incomplete fix for GHSA-7r34-79r5-rcc9: redirect-based SSRF via unhooked requests session in Jira user-permission lookup”, GitHub Advisory Database, published 22 September 2026. https://github.com/advisories/GHSA-v9m3-wfh8-5646 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  28. GHSA-qqvm-66q4-vf5c (CVE-2026-43995), “Flowise: SSRF Protection Bypass via Direct node-fetch / axios Usage (Patch Enforcement Failure)”, GitHub Advisory Database, published 16 April 2026. https://github.com/advisories/GHSA-qqvm-66q4-vf5c (opens in a new tab) ↩1 ↩2 ↩3
  29. IANA IPv6 Special-Purpose Address Registry, accessed 4 December 2026. https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml (opens in a new tab) ↩1 ↩2 ↩3
  30. T. Anderson, RFC 8215, “Local-Use IPv4/IPv6 Translation Prefix”, IETF, August 2017. https://www.rfc-editor.org/rfc/rfc8215.html (opens in a new tab) ↩
  31. GHSA-ppjf-mrw7-5wm8 (CVE-2026-141591), mcp-fetch-server SSRF via IPv4-mapped IPv6 and other address forms, GitHub Advisory Database, published 2 December 2026. https://github.com/advisories/GHSA-ppjf-mrw7-5wm8 (opens in a new tab) ↩1 ↩2
  32. GHSA-56c3-vfp2-5qqj (CVE-2026-42449), “n8n-mcp’s IPv4-mapped IPv6 addresses bypass SSRF protection in validateUrlSync()”, GitHub Advisory Database, published 30 April 2026. https://github.com/advisories/GHSA-56c3-vfp2-5qqj (opens in a new tab) ↩1 ↩2
  33. GHSA-c6xh-wv4j-ppv5 (CVE-2026-69257), “Flowise: SSRF Protection Bypass via IPv4-Mapped IPv6 Addresses”, GitHub Advisory Database, published 4 August 2026. https://github.com/advisories/GHSA-c6xh-wv4j-ppv5 (opens in a new tab) ↩
  34. GHSA-pvrj-8cg3-j5f8 (CVE-2026-49857), “auth-fetch-mcp has SSRF Protection Bypass via IPv4-mapped IPv6 Loopback”, GitHub Advisory Database, published 1 July 2026. https://github.com/advisories/GHSA-pvrj-8cg3-j5f8 (opens in a new tab) ↩
  35. GHSA-r48c-v28r-pf6v (CVE-2026-44430), “MCP Registry has an unauthenticated SSRF: HTTP namespace verification dials 6to4 / NAT64 / site-local IPv6 addresses, bypassing private-address allowlist”, GitHub Advisory Database, published 8 May 2026. https://github.com/advisories/GHSA-r48c-v28r-pf6v (opens in a new tab) ↩1 ↩2
  36. Use the Instance Metadata Service to access instance metadata, Amazon EC2 User Guide, accessed 4 December 2026. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  37. Azure Instance Metadata Service for virtual machines, Microsoft Learn, updated 4 May 2026. https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  38. Access VM metadata, Compute Engine documentation, Google Cloud, accessed 4 December 2026. https://docs.cloud.google.com/compute/docs/metadata/querying-metadata (opens in a new tab) ↩1 ↩2 ↩3
  39. United States v. Paige A. Thompson, Criminal Complaint, Case 2:19-mj-00344-MAT, US District Court for the Western District of Washington, filed 29 July 2019, pages 5 to 7. https://www.justice.gov/media/1019711/dl?inline (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  40. United States v. Paige A. Thompson, Superseding Indictment, No. CR19-0159, Dkt. 102, US District Court for the Western District of Washington, filed 17 June 2021. https://www.justice.gov/media/1147181/dl?inline (opens in a new tab) ↩1 ↩2
  41. United States v. Paige A. Thompson, No. 22-30179, opinion, US Court of Appeals for the Ninth Circuit, filed 17 March 2025. https://cdn.ca9.uscourts.gov/datastore/opinions/2025/03/17/22-30179.pdf (opens in a new tab) ↩1 ↩2 ↩3
  42. Nelson Novaes Neto, Stuart Madnick, Anchises Moraes G. de Paula and Natasha Malara Borges, “A Case Study of the Capital One Data Breach”, Cybersecurity at MIT Sloan, March 2020. https://cams.mit.edu/wp-content/uploads/capitalonedatapaper.pdf (opens in a new tab) ↩1 ↩2
  43. Information on the Capital One Cyber Incident, Capital One, accessed 4 December 2026. https://www.capitalone.com/digital/facts2019/ (opens in a new tab) ↩
  44. Office of the Comptroller of the Currency, Consent Order for the Assessment of a Civil Money Penalty, In the Matter of Capital One, N.A. and Capital One Bank (USA), N.A., AA-EC-20-51, EA 2020-036, announced 6 August 2020. https://www.occ.gov/static/enforcement-actions/ea2020-036.pdf (opens in a new tab) ↩
  45. Configure the Instance Metadata Service options (including order of precedence), Amazon EC2 User Guide, accessed 4 December 2026. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  46. Configure instance metadata options for new instances, Amazon EC2 User Guide, accessed 4 December 2026. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  47. Jeff Barr, “Amazon EC2 Instance Metadata Service IMDSv2 by default”, AWS News Blog, 6 November 2023. https://aws.amazon.com/blogs/aws/amazon-ec2-instance-metadata-service-imdsv2-by-default/ (opens in a new tab) ↩1 ↩2 ↩3
  48. “Set IMDSv2 as default for all new instance launches in your account”, AWS What’s New, 25 March 2024. https://aws.amazon.com/about-aws/whats-new/2024/03/set-imdsv2-default-new-instance-launches/ (opens in a new tab) ↩1 ↩2
  49. State of Cloud Security 2024, Datadog, updated October 2024 (data collected September 2024). https://www.datadoghq.com/state-of-cloud-security-2024/ (opens in a new tab) ↩
  50. State of Cloud Security, Datadog, updated November 2026. https://www.datadoghq.com/state-of-cloud-security/ (opens in a new tab) ↩
  51. v0.1 and v1beta1 metadata server endpoints deprecation, Compute Engine documentation, Google Cloud, accessed 4 December 2026. https://docs.cloud.google.com/compute/docs/deprecations/v0.1-v1beta1-metadata-server (opens in a new tab) ↩
  52. CVE-2024-3095 (LangChain Web Research Retriever SSRF), CVE record from the CNA (huntr), CVE Program cvelistV5, published 6 June 2024. https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2024/3xxx/CVE-2024-3095.json (opens in a new tab) ↩
  53. GHSA-cgcg-8wfv-474p (CVE-2026-138033), mcp-video-analyzer server-side request forgery, GitHub Advisory Database, published 27 November 2026. https://github.com/advisories/GHSA-cgcg-8wfv-474p (opens in a new tab) ↩
  54. GHSA-6w67-hwm5-92mq, “Server-Side Request Forgery (SSRF) in Vision-Language Image Loading”, InternLM/lmdeploy repository security advisory, GitHub, published 18 April 2026 (global database listing 21 April 2026). https://github.com/InternLM/lmdeploy/security/advisories/GHSA-6w67-hwm5-92mq (opens in a new tab) ↩1 ↩2
  55. CVE-2026-33626 (LMDeploy vision-language module SSRF), National Vulnerability Database CVE API 2.0 record, published 20 April 2026. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-33626 (opens in a new tab) ↩
  56. Sysdig Threat Research Team, “CVE-2026-33626: How attackers exploited LMDeploy LLM Inference Engines in 12 hours”, Sysdig blog, 22 April 2026. https://www.sysdig.com/blog/cve-2026-33626-how-attackers-exploited-lmdeploy-llm-inference-engines-in-12-hours (opens in a new tab) ↩1 ↩2
  57. Model Context Protocol Specification, version 2025-11-25, Overview and Security and Trust & Safety sections, accessed 4 December 2026. https://modelcontextprotocol.io/specification/2025-11-25 (opens in a new tab) ↩
  58. GHSA-frq9-3hp2-xvxg (CVE-2025-5276), “Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function”, GitHub Advisory Database, published 29 May 2025. https://github.com/advisories/GHSA-frq9-3hp2-xvxg (opens in a new tab) ↩
  59. GHSA-c4hg-6933-x62x (CVE-2026-34476), “Apache SkyWalking MCP: Server-Side Request Forgery via SW-URL Header in MCP Server”, GitHub Advisory Database, published 13 April 2026. https://github.com/advisories/GHSA-c4hg-6933-x62x (opens in a new tab) ↩
  60. GHSA-8vgg-2v64-cxf3 (CVE-2026-128877), IBM Langflow OSS agentic MCP endpoint SSRF via Host header, GitHub Advisory Database, published 3 December 2026. https://github.com/advisories/GHSA-8vgg-2v64-cxf3 (opens in a new tab) ↩
  61. GHSA-v6ph-xcq9-qxxj (CVE-2026-39885), “mcp-from-openapi is Vulnerable to SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications”, GitHub Advisory Database, published 8 April 2026. https://github.com/advisories/GHSA-v6ph-xcq9-qxxj (opens in a new tab) ↩
  62. GHSA-qr6j-m9pw-j9qm (CVE-2026-144453), AgentCrew SSRF and local file read through MCP tool schema $ref values, GitHub Advisory Database, published 4 December 2026. https://github.com/advisories/GHSA-qr6j-m9pw-j9qm (opens in a new tab) ↩
  63. GHSA-hhfx-wfvq-7g9c (CVE-2026-26118), “Azure MCP Server has Server-Side Request Forgery issue that allows authorized attacker to elevate privileges over a network”, GitHub Advisory Database, published 10 March 2026. https://github.com/advisories/GHSA-hhfx-wfvq-7g9c (opens in a new tab) ↩
  64. GHSA-3xm7-qw7j-qc8v (CVE-2026-33060), “SSRF in @aborruso/ckan-mcp-server via base_url allows access to internal networks”, GitHub Advisory Database, published 18 March 2026. https://github.com/advisories/GHSA-3xm7-qw7j-qc8v (opens in a new tab) ↩
  65. GHSA-g84h-j7jj-x32p (CVE-2026-53509), “@aborruso/ckan-mcp-server: SSRF via base_url allows access to internal networks (Potential fix bypass of CVE-2026-33060)”, GitHub Advisory Database, published 7 July 2026. https://github.com/advisories/GHSA-g84h-j7jj-x32p (opens in a new tab) ↩
  66. GHSA-798p-78g2-v556 (CVE-2026-61612), “@aborruso/ckan-mcp-server has SSRF via DNS-name → internal IP — incomplete fix of CVE-2026-53509”, GitHub Advisory Database, published 22 September 2026. https://github.com/advisories/GHSA-798p-78g2-v556 (opens in a new tab) ↩
  67. Amy Herzog, “New AWS research shows that AI systems are the fastest-growing target for threat actors”, About Amazon, 3 December 2026. https://www.aboutamazon.com/news/aws/aws-madpot-ai-threat-intelligence (opens in a new tab) ↩1 ↩2
  68. Mayura Kathir, “AWS Warns Hackers Could Steal Cloud Credentials Through Exposed AI Servers as Attacks Surge”, GBHackers, 4 December 2026. https://gbhackers.com/ai-server-attacks/ (opens in a new tab) ↩
  69. CJ Moses, “Amazon Threat Intelligence observes threat actors running cybercrime campaigns with ARTEX AI agents”, AWS Security Blog, 13 November 2026. https://aws.amazon.com/blogs/security/amazon-threat-intelligence-observes-threat-actors-running-cybercrime-campaigns-with-artex-ai-agents/ (opens in a new tab) ↩1 ↩2
  70. Smokescreen, stripe/smokescreen repository README, GitHub, accessed 4 December 2026. https://github.com/stripe/smokescreen (opens in a new tab) ↩1 ↩2