What is SSRF — your own server makes the attacker's request
SSRF stands for server-side request forgery: a vulnerability in which an attacker tricks a server into sending a request to a destination the attacker chooses. The server sits behind the firewall, so that request reaches internal systems and cloud metadata services that are unreachable from outside. OWASP says it occurs when an application fetches a remote resource without validating the user-supplied URL, and MITRE classifies it as CWE-918. The best-known cases are the 2019 Capital One breach, which exposed data on about 106 million people, and CVE-2021-26855, the first step of the 2021 Exchange Server attack chain. SSRF was A10 in the OWASP Top 10 of 2021 and was folded into the number one category, Broken Access Control, in the 2025 edition. Defence rests on destination allow lists, disabled redirects, not returning raw responses, network segmentation and protected metadata services.
The three lines
- Definition — a flaw that makes the server send a request to an address the attacker picked. The server is inside the firewall, so it reaches what outsiders cannot (OWASP, MITRE CWE-918)
- Cases — Capital One in 2019 (about 100 million people in the US and 6 million in Canada) and Exchange CVE-2021-26855 in 2021. The CISA KEV catalog holds 27 entries classed as SSRF (version 2026.11.24, our count)
- Defence — allow lists, not deny lists. Disable redirects, do not return raw responses, segment the network, and make the metadata service demand a token, as AWS IMDSv2 does
Key questions
- SSRF meaning
- **It is a vulnerability that makes a server send a request to a destination chosen by the attacker. SSRF stands for server-side request forgery.** | Item | Detail | |---|---| | Full name | Server-Side Request Forgery | | Classification | MITRE CWE-918 | | When it occurs | The server fetches a remote resource without validating the user-supplied URL (OWASP) | | Who is tricked | The server | | What it reaches | Internal systems, the server itself, cloud metadata services | | OWASP Top 10 | A10 in 2021; part of A01 Broken Access Control in 2025 |
- SSRF vs CSRF
- **Both forge a request, but a different party is tricked. In SSRF the server is tricked into sending it; in CSRF the user's browser is.** | | SSRF | CSRF | |---|---|---| | Who sends the request | The server | The browser of a logged-in user | | What is borrowed | The server's network position and privileges | The user's logged-in session | | Typical target | Internal systems, metadata services | The site the user is logged in to | | CWE | CWE-918 | CWE-352 | | Main defence | Destination allow list, network segmentation | Unpredictable token, re-confirmation |
- how to prevent SSRF
- **Pin destinations to an allow list, disable redirects, do not hand raw responses back, and segment the network. OWASP says not to rely on a deny list or a regular expression.** | Defence | Layer | Basis | |---|---|---| | Allow list for scheme, port and destination | Application | OWASP A10:2021 | | Disable HTTP redirects | Application | OWASP A10:2021 | | Do not send raw responses to clients | Application | OWASP A10:2021 | | Put remote-fetch functions in a separate network | Network | OWASP A10:2021 | | Deny-by-default firewall policy | Network | OWASP A10:2021 | | Require a token at the metadata service (IMDSv2) | Cloud | AWS documentation, OWASP cheat sheet |
SSRF is a vulnerability in which an attacker tricks a server into sending a request, on the attacker's behalf, to a destination the attacker chooses. The letters stand for server-side request forgery. The attacker cannot get inside the firewall. But the attacker can ask a server that is already inside. If the server does the favour without questioning it, internal systems that were unreachable from outside open up through the server.
This explainer covers the definition, why SSRF is dangerous, how it works at the level of concepts, its types, its relationship to cloud metadata services, the best-known cases, its place in the OWASP Top 10, how it differs from CSRF, a defence checklist, and why it matters again in the age of AI agents. It is written for understanding and defence, so it does not give the specific inputs or bypass steps used in attacks.
1. Definition — a request the server sends for someone else
Web services are full of features in which the server fetches something on the user's behalf: a link preview, a profile picture loaded from a URL, a webhook, a document converter, a "test connection" button for an external server. If the user decides where the server goes and the server does not check that destination, the result is SSRF.
| Body | Definition | Source |
|---|---|---|
| OWASP | Occurs whenever a web application fetches a remote resource without validating the user-supplied URL | A10:2021 |
| MITRE | The web server receives a URL or similar request from an upstream component and retrieves its contents, without sufficiently ensuring the request goes to the expected destination | CWE-918 |
| PortSwigger | A web security vulnerability that allows an attacker to cause the server-side application to make requests to an unintended location | Web Security Academy |
The three share one point. The server sends the request, and the attacker chose where it goes.
| Item | Detail |
|---|---|
| Full name | Server-Side Request Forgery |
| Classification | CWE-918 |
| Other name | XSPA (Cross Site Port Attack), listed by MITRE as an alternate term |
| Parent weakness | CWE-441, Unintended Proxy or Intermediary |
| Consequences (MITRE) | Read application data, execute unauthorized code or commands, bypass protection mechanisms |
| Features where it typically appears | Link previews, fetching a file or image by URL, webhooks, connection tests, document and image conversion |
The name of the parent weakness says what this is. The server becomes the attacker's proxy. Security people group this kind of problem under the heading of a privileged party being tricked into doing someone else's work.
2. Why it is dangerous — the server is inside the firewall
Most networks block connections arriving from outside and let machines on the inside talk to one another fairly freely. Databases, admin consoles, caches and internal APIs are invisible from the internet. In exchange, requests from inside tend to be trusted. Some internal services skip authentication altogether for anything that arrives from the same network.
SSRF uses that gap. The attacker's request cannot cross the firewall, but the web server's request starts inside it. MITRE files this consequence under bypassing a protection mechanism: by making the server the sender, an attacker can reach hosts and URLs that are not directly accessible, such as internal networks behind firewalls.
| What the server can reach | Reachable from outside | If it is hit |
|---|---|---|
| The server itself (loopback) | No | Admin functions that trust only local requests may open (PortSwigger) |
| Other systems on the internal network | No | Internal functions and data left open without authentication may be exposed (PortSwigger) |
| The cloud metadata service | No | Temporary credentials attached to that server may leak (section 5) |
| Internal addresses and ports in general | No | The attacker learns which services are alive |
| Third-party servers outside | Yes | The attack appears to originate from the victim organisation's server |
PortSwigger writes that a successful SSRF attack often results in unauthorized actions or access to data within the organisation, and that in some situations it can lead to arbitrary command execution. SSRF itself is a flaw that causes one request to be sent. The damage depends on what sits where that request lands, which is why two SSRF flaws can carry very different severity scores. What those scores measure is covered in "What CVSS is — why GitLab's critical flaw scored 9.9, not 10" (October 6, 2026).
3. How it works — at the level of concepts
The mechanism has three steps.
| Step | Normal use | SSRF |
|---|---|---|
| 1. Input | The user supplies the address of something to fetch, such as a public web page | The attacker supplies an address pointing somewhere only the server can reach |
| 2. Server request | The server sends a request to that address | The server sends a request to that address without checking it |
| 3. Result | The fetched content is processed and shown | The internal resource's response goes back to the attacker, or the internal service acts on the request |
The flaw is in step 2. The server never asked whether it should go there. It also arises in features that do not take a full URL. A feature that accepts only a hostname, or only a port number, or that offers a connection-test button with a destination field, has the same problem. The November 2026 Mail Assure case (section 11) is one of those: it appeared in a directory-server connection check, not in a link preview.
What makes this bug class awkward is that adding validation often is not enough. There are many ways to write an address that points to the same place; the name can resolve to a different place between the check and the actual connection; and an address that looks fine can redirect elsewhere once contacted. That is why OWASP says not to mitigate SSRF with a deny list or a regular expression, noting that attackers have payload lists, tools and skills to bypass them. The bypass methods themselves are outside the scope of this article. For defenders the point to keep is that "filter out bad addresses" is a structurally losing approach.
4. Types — regular SSRF and blind SSRF
| Regular SSRF | Blind SSRF | |
|---|---|---|
| Response | What the server fetched is visible to the attacker | The request goes out but the response is not returned to the attacker |
| What the attacker gains | The content of the internal resource | Indirect signals: whether the request left, whether the destination is alive |
| Difficulty | Comparatively easy | Harder to exploit (PortSwigger) |
| Risk | Information leaks directly | Damage occurs if the internal service acts on the request alone. Can sometimes lead to remote code execution (PortSwigger) |
| How defenders see it | Internal data showing up in responses | Outbound connection logs on the server |
Blind does not mean safe. Being able to deliver "do this" to an internal service can be enough even with no response to read. That is why "do not return the response" cannot be the only item on a defence checklist. Hiding the response only downgrades regular SSRF to blind SSRF; stopping the request from leaving is a separate job.
There is also a split by target. PortSwigger separates attacks against the server itself from attacks against other back-end systems. In the first, the server is made to send a request to itself and touch functions that are open only to local requests. In the second, it touches internal systems users cannot reach directly.
5. Cloud metadata services — why SSRF grew
A virtual server in the cloud comes with something called a metadata service: a place the server asks for information about itself. The server's name, its network settings, and the temporary credentials assigned to it all come from there. It cannot be reached from outside; it lives at a special address reachable only from within that server. The Microsoft documentation says the Azure service sits at a non-routable address and can be accessed only from within the virtual machine.
"Reachable only from within that server" becomes a problem when it meets SSRF, because SSRF is precisely a flaw that makes that server send requests. If the server queries the metadata service and passes the answer back to the attacker, the credentials attached to the server leave with it. What those credentials can do depends on the permissions granted to the server. The OWASP cheat sheet describes metadata services as a common SSRF target for stealing credentials.
All three large clouds have built a filter for "requests that arrived by accident or by trickery" into their metadata services.
| Cloud | Mechanism | What the documentation says |
|---|---|---|
| AWS | IMDSv2. A session token must first be obtained with a separate kind of request, then carried on every later request | Token lifetime from 1 second to 6 hours. Token requests carrying a forwarded-for header are rejected. The token response has a default hop limit of 1 |
| Google Cloud | A dedicated header is required on every request | Requests without it are denied. Requests carrying a forwarded-for header are rejected automatically |
| Azure | A dedicated header is required on every request | The purpose is to prevent unintended or unwanted redirection of requests. A forwarded-for header must not be present |
The principle is the same in each. In a simple SSRF the attacker usually controls only the destination address, not the request method or the headers. If the metadata service says "I answer only if a specific header is present" or "first fetch a token with a different kind of request", an SSRF that can change only the address is stopped. Rejecting requests marked as having passed through a proxy serves the same end: it filters out the case in which a misconfigured proxy or firewall relays an outside request.
The AWS hop limit is one more layer. The response carrying the token is dropped if it crosses even one network hop, so the token cannot travel off the server.
| Date | Change to the AWS metadata service | Source |
|---|---|---|
| November 19, 2019 | Enhancements to how metadata access requests are handled announced (IMDSv2). Administrators can require it on new and existing instances, or disable metadata access entirely | AWS announcement |
| March 25, 2024 | An account-level setting makes new instances IMDSv2-only by default. It is set per Region and does not affect existing instances | AWS announcement |
Two caveats. First, IMDSv2 is a mitigation, not a cure for SSRF. It does not help against a flaw in which the attacker controls the method and headers too, and every internal system other than the metadata service stays exposed. Second, the AWS documentation says that by default both IMDSv1 and IMDSv2 can be used. Turning the older method off is something an operator has to configure. The OWASP cheat sheet recommends migrating to IMDSv2 and disabling IMDSv1.
6. Notable cases — Capital One in 2019, Exchange in 2021
| When | Event | Role of SSRF | Scale or outcome | Source |
|---|---|---|---|---|
| March 22–23, 2019 | Capital One breach | AWS said it believed SSRF was used after entry through a firewall misconfiguration | About 100 million people in the US, about 6 million in Canada | Capital One, The Register, CyberScoop |
| November 19, 2019 | AWS announces metadata service enhancements | Mitigation for SSRF aimed at metadata | See section 5 | AWS |
| August 6, 2020 | US bank regulator OCC fines Capital One | Cited inadequate risk assessment before cloud migration | $80 million | OCC |
| March 2, 2021 | Exchange Server CVE-2021-26855 disclosed | First step of the chain; let an attacker act as the server without authenticating | Chained with three other flaws to take over servers | Microsoft |
| March 3, 2021 | CISA Emergency Directive 21-02 | Ordered federal agencies to act on Exchange | — | CISA |
| 2021 edition | SSRF added to the OWASP Top 10 | Entered as A10 after ranking first in the community survey | See section 7 | OWASP |
| 2025 edition | Folded into A01 in the OWASP Top 10 | Reclassified as a form of broken access control | See section 7 | OWASP |
| April 21–22, 2026 | LMDeploy CVE-2026-33626 | Arose in how an AI inference server handled image URLs | First exploitation attempt seen 12 hours 31 minutes after the advisory (one source) | Sysdig |
| November 23, 2026 | N-able Mail Assure CVE-2026-134624 added to CISA KEV | Arose in a connection-check function | See section 11 | CISA KEV |
Capital One (2019). According to the bank's incident page, the unauthorised access took place on March 22 and 23, 2019; an external security researcher reported it through the company's responsible disclosure programme on July 17; and the company confirmed the intrusion on July 19. About 100 million people in the United States and about 6 million in Canada were affected. The data included about 140,000 Social Security numbers of US credit card customers, about 80,000 linked bank account numbers, and about 1 million Canadian Social Insurance Numbers. Capital One describes the cause as a configuration vulnerability.
The term SSRF came in the explanations that followed. According to reports by The Register and CyberScoop in August 2019, the AWS chief information security officer wrote in a reply to US Senator Ron Wyden that the attack stemmed from a misconfiguration at the application layer of a firewall installed by Capital One, and that AWS believed an SSRF attack was used once the attacker was in. The same letter said SSRF was not the primary factor and was one of several ways the attacker could have reached the data. The security journalist Brian Krebs reported on August 2, 2019, citing a source with knowledge of the investigation, that a misconfigured open-source web application firewall relayed the attacker's requests to the metadata service, and that the firewall had been given more permissions than it needed, including the ability to list and read files in storage.
The lesson has three layers: a misconfiguration that relayed the request, a metadata service that handed credentials to that request, and excessive permissions attached to those credentials. Remove any one and the outcome might have been different. On August 6, 2020 the Office of the Comptroller of the Currency fined Capital One $80 million, citing the failure to establish effective risk assessment processes before migrating significant information technology operations to the public cloud and the failure to correct the deficiencies in a timely manner. According to SecurityWeek on October 5, 2022, the defendant was convicted by a jury in June 2022 and sentenced that October to time served and five years of probation.
Exchange Server (2021). On March 2, 2021 Microsoft disclosed four flaws in Exchange Server. It described one of them, CVE-2021-26855, as a server-side request forgery vulnerability in Exchange that allowed the attacker to send arbitrary HTTP requests and authenticate as the Exchange server. That one flaw opened the door, and the other three (CVE-2021-26857, CVE-2021-26858, CVE-2021-27065) carried on to code execution and file writes. The last two could be used only after authentication, and the SSRF supplied that authentication. Microsoft attributed the campaign with high confidence to HAFNIUM, a group it assessed to be state-sponsored and operating out of China. The chain became known as ProxyLogon. CISA issued Emergency Directive 21-02 the next day, March 3, 2021. Why flaws used before a patch exists are treated as a category of their own is covered in "Zero-day explained — why an unpatched flaw is the most expensive thing in security" (August 10, 2026).
What this case shows is that SSRF rarely ends with itself. It is often the first link of a chain. The other functions built on the assumption that internal requests can be trusted become the next links.
7. Where it sits in the OWASP Top 10 and CWE
The OWASP Top 10 is a list of the ten most significant risks to web applications. SSRF entered as its own category in the 2021 edition and was merged into another in the 2025 edition.
| Item | 2021 edition | 2025 edition |
|---|---|---|
| Where SSRF sits | A10 Server-Side Request Forgery (own category) | Inside A01 Broken Access Control |
| How it got there | Ranked first in the community survey | CWE-918 named among the notable CWEs of A01 |
| CWEs mapped to the category | 1 (CWE-918) | 40 |
| Average incidence rate | 2.72% | 3.74% (all of A01) |
| Total occurrences | 9,503 | 1,839,701 (all of A01) |
| Total CVEs | 385 | 32,654 (all of A01) |
| Average weighted exploit / impact | 8.28 / 6.72 | 7.04 / 3.84 (all of A01) |
The 2021 numbers show that SSRF was not picked by the data. Its incidence rate was low. OWASP wrote that the category was added because it ranked first in the community survey, meaning practitioners named it as a risk the data had not yet caught. Its exploit and impact scores were above average.
Losing its own category in 2025 does not mean the risk shrank. SSRF moved inside the number one item on the list. The OWASP page for A01:2025 names as notable CWEs two forms of sensitive information exposure together with CWE-918 (SSRF) and CWE-352 (CSRF). The two flaws that are most often confused by name now sit in the same category. Both are, at root, access control failures: nobody verified that the request came from a party entitled to send it.
In the MITRE CWE Top 25, the list of the most dangerous software weaknesses, CWE-918 appears in five consecutive years from 2021 to 2025. It ranked 22nd in 2025 and 19th in 2024.
SSRF also keeps turning up in the KEV catalog, the list kept by the US agency CISA of vulnerabilities confirmed to have been used in real attacks. Counting the entries in version 2026.11.24 whose name, description or classification shows SSRF gives 27.
| Year added | SSRF entries | Examples |
|---|---|---|
| 2021 | 7 | Exchange CVE-2021-26855, VMware vCenter, Accellion FTA |
| 2022 | 3 | Exchange CVE-2022-41040, VMware vCenter CVE-2021-21973 |
| 2023 | 1 | Skype for Business CVE-2023-41763 |
| 2024 | 1 | Ivanti Connect Secure CVE-2024-21893 |
| 2025 | 3 | Oracle E-Business Suite CVE-2025-61884, Zimbra, Adminer |
| 2026 (through the November 24 version) | 12 | MLflow CVE-2026-64849, SonicWall SMA1000, Plex, N-able Mail Assure |
Four of the 12 added in 2026 are old flaws with CVE numbers from 2020 and 2021. Even without them, eight SSRF flaws with 2026 numbers were listed. How that catalog is built and why scores play no part in it is covered in "What is the CISA KEV catalog — a 6.5 listed before a 9.8" (November 24, 2026).
8. How it differs from CSRF
The names differ by one letter and both are request forgery, so they are often mixed up. The dividing line is who is tricked into sending the request.
| SSRF | CSRF | |
|---|---|---|
| Full name | Server-side request forgery | Cross-site request forgery |
| Who is tricked | The server | The user's browser |
| What the attacker borrows | The server's network position and privileges | The user's logged-in session |
| Where the request goes | Internal systems, the server itself, the metadata service | The website the user is logged in to |
| Does the victim have to act | No. The attacker submits input to the server directly | Usually yes. The user has to open a page the attacker built |
| Typical damage | Leak of internal data and credentials, execution of internal functions | Settings changed, money moved or content posted without the user knowing |
| CWE | CWE-918 | CWE-352 |
| Main defence | Destination allow list, network segmentation, no redirects | Unpredictable one-time token, re-confirmation of dangerous actions |
| OWASP Top 10 2025 | Inside A01 | Inside A01 |
MITRE defines CSRF (CWE-352) as a weakness in which the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent it. In CSRF the user's browser is the proxy; in SSRF the server is. The defences differ accordingly. CSRF is stopped by a mechanism that asks "did this user really mean this request"; SSRF is stopped by one that asks "is this server really allowed to go there".
SQL injection is a relative that runs in a different direction. If the attacker's input becomes the destination of a request the server sends, it is SSRF; if it becomes part of a database query, it is SQL injection. The latter is explained in "What SQL injection is — a 30-year-old attack with 14,000+ CVEs that an AI agent just used" (October 12, 2026).
9. Defence checklist
OWASP divides SSRF defence into a network layer and an application layer and recommends using several layers together. The table below combines OWASP A10:2021, the OWASP SSRF Prevention Cheat Sheet and the documentation of the three clouds.
| Defence | Layer | What it does | Caution | Basis |
|---|---|---|---|---|
| Destination allow list | Application | Passes only permitted schemes, ports and destinations | Do not rely on a deny list or a regular expression | OWASP A10:2021 |
| Do not accept full URLs | Application | Take only an identifier from the user; the server builds the request from the matching allow-list entry | The strongest option where the feature permits it | OWASP cheat sheet |
| Disable redirects | Application | Do not follow a validated destination when it points elsewhere | If redirects must be followed, repeat the same validation at every hop | OWASP A10:2021, cheat sheet |
| No raw responses | Application | Do not pass what the server fetched straight back to the user | Blind SSRF remains. Not sufficient alone | OWASP A10:2021 |
| Connect only to the validated address | Application | Validate the resolved address, then connect to that address and no other | Prevents the name pointing somewhere else between check and use (DNS rebinding) | OWASP A10:2021, cheat sheet |
| Reject ambiguous URLs | Application | Reject a URL that different parsers read differently, without trying to reconcile them | Use vetted libraries for address validation; do not hand-roll it | OWASP cheat sheet |
| Network segmentation | Network | Run remote-fetch functions in a separate network | Cut the path from that network to internal systems | OWASP A10:2021 |
| Deny-by-default firewall | Network | Block all but essential intranet traffic | Control outbound (egress) traffic too | OWASP A10:2021 |
| Protect the metadata service | Cloud | On AWS, require IMDSv2 and disable IMDSv1. Turn metadata access off on servers that do not need it | By default both versions may be enabled | AWS documentation, OWASP cheat sheet |
| Least privilege | Cloud | Give the role attached to a server only the permissions it needs | Limits the damage if credentials leak | Lesson of the Capital One case (section 6) |
| Authenticate internal services | Internal network | Require authentication even for requests from inside | Do not treat network position as identity | Drawn from the PortSwigger description |
| Log outbound connections | Operations | Record where the server sent requests | Blind SSRF shows up here | OWASP A10:2021 |
A few of these deserve unpacking.
Allow lists before deny lists. Writing down where the server may go and writing down where it may not are not symmetrical tasks. The forbidden places can be written in many ways and keep multiplying. The OWASP cheat sheet says deny lists are bypass-prone and allow lists should be preferred. For features whose destination cannot be known in advance, such as a webhook that accepts any address, an allow list is impossible, and the cheat sheet states plainly that the block-list approach there is not an impenetrable wall. That makes network-layer control especially important for such features.
Application validation and network control do not replace each other. Validation code can be wrong, and a newly added feature can skip it. If the fetching component runs away from the internal network and its outbound traffic is funnelled through a dedicated proxy, there is nothing internal to reach even when validation fails.
Do not trust "internal". The root reason SSRF is frightening is that internal services use network position as if it were identity. If requests from inside also have to authenticate, an SSRF finds a locked door wherever it lands.
10. Why it matters again in the age of AI agents
The condition for SSRF is "the server fetches something from an address the user supplied". Services built on large language models have that condition as a core feature: give it a link and it reads and summarises; give it an image URL and it analyses the image; let an agent browse the web and call external tools.
The observed examples on the MITRE CWE-918 page show the shift directly.
| CVE | MITRE description | What it represents |
|---|---|---|
| CVE-2026-33626 | SSRF in an LLM toolkit that fetched arbitrary image URLs, exploited in the wild in April 2026 for port scanning | An inference server that accepts image URLs |
| CVE-2024-3095 | SSRF in the URL retriever of an LLM framework, reaching local addresses through a redirect response | A fetch tool that followed a redirect |
| CVE-2023-32786 | A chain in which prompt injection led to SSRF | Instructions fed to the model changed where the request went |
The first is the most concrete. According to a post by the cloud security firm Sysdig dated April 22, 2026, the advisory for the SSRF flaw in LMDeploy was published on April 21, 2026, and the firm observed a first exploitation attempt 12 hours and 31 minutes later. When a chat request contains an image URL, the server fetches that URL itself and passes the result to the model, and nothing checked whether the URL pointed inward. The post says the attacker probed the cloud metadata service and services on the server's own loopback interface and swept ports. The fix is version 0.12.3. The post adds that inference nodes often run on GPU instances with broadly permissioned roles and without egress controls, which makes this bug class especially attractive. It is one company's own observation.
The third example is a path that is new to the AI era. In traditional SSRF the attacker types an address into an input field. With an agent, instructions inside a document or web page the model reads can cause the model to fetch a particular address. The input that decides where a request goes has widened from a form field to everything the model reads.
The security document of the Model Context Protocol (MCP), the specification that connects agents to external tools, has its own section on SSRF. It explains that an MCP client fetches URLs supplied by a server while discovering authorisation metadata, and that a malicious server can put addresses of internal resources in those fields. The mitigations it recommends are the same family as section 9 of this article: enforce HTTPS, block private and reserved address ranges, validate redirect targets, route outbound traffic through an egress proxy, and pin name resolution between check and use. It also warns against implementing address validation by hand.
Tools that run models locally are not exempt. As covered in "What is llama.cpp — the engine under Ollama and LM Studio, and what 1.0 promises" (November 16, 2026), llama.cpp 1.0.0 fixed an SSRF in the function where the server fetches outside addresses on a client's behalf, and made media URLs pointing at local or private addresses blocked by default.
In short: AI did not create a new vulnerability. What grew fast is the amount of software whose core feature is the very condition under which an old vulnerability arises. The defence principles have not changed. What has changed is that taking inventory of "the functions that fetch a URL" has become harder.
11. A November 2026 case — N-able Mail Assure CVE-2026-134624
This is what prompted the article. On November 23, 2026 CISA added CVE-2026-134624, a flaw in the N-able email security service Mail Assure (formerly SpamExperts), to the KEV catalog.
| Item | Detail | Source |
|---|---|---|
| Product | N-able MailAssure (SpamExperts) | CISA KEV |
| Flaw type | Server-side request forgery, CWE-918 | CISA KEV |
| Location | The connection check of LDAP synchronisation | CISA KEV, SecurityOnline, Rescana |
| Precondition | An authenticated API user | CISA KEV, Rescana |
| What it allows | Connecting to arbitrary internal hosts and ports, determining which are reachable, and sending crafted data to internal services | CISA KEV |
| Fixed build | 20261121.1943 | SecurityOnline, Rescana |
| Added to KEV / due date | November 23, 2026 / November 26, 2026 | CISA KEV |
| Forensic triage | Flagged as required | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
The case looks a little different from the textbook SSRF, and that is what makes it worth a look.
It is not a link-preview feature. The flaw was in a function that checks the connection to a directory (LDAP) server in the mail relay settings. The CVE record description, as relayed by Rescana, is that the product does not restrict the destination of that connection check. "Test connection" buttons are everywhere in admin consoles, and the moment one accepts a destination it is an SSRF candidate.
It is not the response-reading kind. The abilities the KEV description lists are connecting, learning what is reachable, and sending crafted data. As section 4 noted, internal reconnaissance and manipulation of internal services are possible without reading any response.
It needed authentication and was still used. The flaw can be used only by an authenticated API user. CISA nevertheless judged there was evidence of exploitation and attached a three-day deadline with a forensic triage flag. According to Rescana, N-able said it found no evidence of exploitation beyond the single N-able-hosted server identified in its initial investigation. That statement comes from one source.
Affected builds and the order of checks are covered separately in the N-able Mail Assure CVE-2026-134624 patch version article in the same edition. The one thing to take from it here: any feature that accepts a destination is in scope for an SSRF review, whatever it is called.
12. Frequently asked questions
How is SSRF pronounced? Letter by letter: S-S-R-F. Spelled out, it is server-side request forgery.
What is the difference between SSRF and CSRF? A different party is tricked. In SSRF the server is tricked into sending a request to a place the attacker chose. In CSRF the browser of a logged-in user is tricked into sending a request with that user's authority. SSRF borrows the server's network position; CSRF borrows the user's session.
Does a firewall not stop it? A firewall that only blocks inbound connections does not. In SSRF the request heading inward starts from a server already inside the firewall. Stopping it means controlling traffic from inside to inside and traffic leaving the server as well, which is why OWASP recommends deny-by-default policies and network segmentation.
Is blind SSRF less dangerous? It is harder to exploit, but that is not the same as safe. Even when no response returns to the attacker, damage occurs if an internal service acts on the request alone. PortSwigger notes that blind SSRF can sometimes lead to remote code execution.
Does turning on IMDSv2 solve SSRF? No. IMDSv2 is a mitigation that makes it harder for credentials to leave through the metadata service. It may not help against a flaw in which the attacker controls the request method and headers, and every other internal system remains exposed. Destination validation in the application and network segmentation are still needed.
If I do not use the cloud, does this matter? Yes. The metadata service is only one SSRF target. The Exchange case of 2021 and the Mail Assure case of 2026 have nothing to do with metadata. Any admin console, database or cache left open without authentication on the internal network is a target.
It dropped out of the OWASP Top 10, so is it less important? It did not drop out; it was merged. A10 of the 2021 edition moved inside A01 Broken Access Control, the top category of the 2025 edition, and OWASP names CWE-918 among the notable CWEs of A01. It is also worth noting that 12 SSRF entries were added to the CISA KEV catalog in 2026 alone.
Which features should be reviewed first? Every feature in which the server connects to a destination supplied by a user: link previews, fetching a file or image by URL, webhooks, document conversion, import and export, connection tests for external servers, and in AI features, reading URLs and calling tools. Include features that accept only a hostname or a port, not just a full URL.
If a developer does one thing first, what should it be? Stop accepting whole URLs from users. Where the feature allows it, take only a choice or an identifier from the user and have the server build the actual request from an allow list. Where that is impossible, the next step is to move the fetching component away from the internal network.
13. What remains open and unconfirmed
| Item | Confirmed | Not confirmed |
|---|---|---|
| Definition | The definitions in OWASP A10:2021, MITRE CWE-918 and PortSwigger | — |
| OWASP Top 10 | A10 in 2021 (first in the survey, 385 CVEs); CWE-918 inside A01 in 2025 (two OWASP pages) | The OWASP text explaining why the 2025 edition merged it |
| CWE Top 25 | Listed 2021 through 2025; rank 22 in 2025 and 19 in 2024 (MITRE) | Ranks for 2021 to 2023 |
| SSRF in KEV | 27 entries, 12 added in 2026 (our count from the CISA feed) | SSRF flaws not labelled as such; any third-party tally |
| Capital One | Access on March 22–23, 2019; about 100 million in the US and 6 million in Canada (Capital One); $80 million penalty (OCC) | The exact role of SSRF. The AWS letter and the indictment were not opened. AWS said it was not the primary factor |
| Exchange | CVE-2021-26855 is an SSRF and the first step of the chain (Microsoft); ED 21-02 dated March 3, 2021 (CISA) | The number of servers compromised |
| Metadata protection | The token model of AWS IMDSv2; required headers on Google Cloud and Azure (vendor documentation) | Details of AWS default changes from mid-2024 |
| AI | Three observed examples in MITRE; the SSRF section of the MCP security document | Frequency statistics. The 12 hours 31 minutes for LMDeploy is one firm's observation |
| Mail Assure | Added to KEV November 23, 2026; due November 26; CWE-918; forensic triage flag (CISA feed) | The CVSS score (9.3 and 8.7 both appear). The scope of exploitation comes from one source. The N-able advisory was not opened |
To sum up: SSRF is the flaw in which a server ends up running someone else's errand. The server is inside the firewall and internal systems trust what comes from inside, so a single request crosses the network boundary. Defence has three layers. Pin where the server may go to an allow list; move fetching functions away from the internal network; and make internal services and the metadata service stop trusting a request on network position alone. Now that fetching a supplied address has become a core feature of AI services, there are more places, not fewer, to apply that old rule.
For readers in Korea, where this publication is based, nothing in this article depends on jurisdiction. The clouds, mail servers and AI toolkits named here are the same products Korean companies run. The CISA KEV deadlines mentioned in section 11 bind only US federal civilian agencies; elsewhere they are best read as a signal of urgency. We did not look up Korean incident reports or regulator documents that name SSRF as a cause, so no Korean case is cited.
How the list of exploited vulnerabilities is built is covered in "What is the CISA KEV catalog — a 6.5 listed before a 9.8" (November 24, 2026); how severity scores are constructed in "What CVSS is — why GitLab's critical flaw scored 9.9, not 10" (October 6, 2026); the related flaw in which input flows into a database query in "What SQL injection is — a 30-year-old attack with 14,000+ CVEs that an AI agent just used" (October 12, 2026); and the value of a flaw used before a patch exists in "Zero-day explained — why an unpatched flaw is the most expensive thing in security" (August 10, 2026). Affected builds and remediation for the Mail Assure flaw added to KEV on November 23, 2026 are in the N-able Mail Assure CVE-2026-134624 patch version article in the same edition.
Sources
- OWASP — A10:2021 Server-Side Request Forgery (SSRF) (definition, statistics, prevention; accessed 2026-11-25)
- OWASP — A01:2025 Broken Access Control (40 CWEs, including CWE-918; accessed 2026-11-25)
- OWASP Cheat Sheet Series — Server-Side Request Forgery Prevention Cheat Sheet (accessed 2026-11-25)
- MITRE — CWE-918: Server-Side Request Forgery (SSRF) (definition and observed examples; accessed 2026-11-25)
- MITRE — CWE-352: Cross-Site Request Forgery (CSRF) (accessed 2026-11-25)
- MITRE — 2025 CWE Top 25 Most Dangerous Software Weaknesses (CWE-918 at rank 22)
- PortSwigger Web Security Academy — Server-side request forgery (SSRF) (definition and blind SSRF; accessed 2026-11-25)
- AWS — Use the Instance Metadata Service to access instance metadata (how IMDSv2 works; accessed 2026-11-25)
- AWS — Announcing updates to Amazon EC2 Instance Metadata Service (2019-11-19)
- AWS — Set IMDSv2 as default for all new instance launches in your account (2024-03-25)
- Google Cloud — Access VM metadata (required header, forwarded requests rejected; accessed 2026-11-25)
- Microsoft Learn — Azure Instance Metadata Service (security section; accessed 2026-11-25)
- Capital One — Information on the Capital One cyber incident (incident facts; accessed 2026-11-25)
- US Office of the Comptroller of the Currency — News Release 2020-101: OCC Assesses $80 Million Civil Money Penalty Against Capital One (2020-08-06)
- Krebs on Security — What We Can Learn from the Capital One Hack (2019-08-02)
- The Register — coverage of Senator Wyden's questions to Amazon and the AWS reply (2019-08-06)
- CyberScoop — coverage of the AWS chief information security officer's reply letter (2019-08-16)
- SecurityWeek — Seattle Woman Gets Probation for Massive Capital One Hack (2022-10-05)
- Microsoft Security Blog — HAFNIUM targeting Exchange Servers with 0-day exploits (2021-03-02)
- CISA — Emergency Directive 21-02: Mitigate Microsoft Exchange On-Premises Product Vulnerabilities (2021-03-03)
- CISA — KEV catalog JSON feed (version 2026.11.24, released 2026-11-24 17:47 UTC, downloaded and counted directly)
- Sysdig — CVE-2026-33626: How attackers exploited LMDeploy LLM inference engines in 12 hours (2026-04-22)
- Model Context Protocol — Security Best Practices (SSRF section; accessed 2026-11-25)
- SecurityOnline — CISA KEV: MONAI Label and N-able MailAssure (2026-11-24)
- Rescana — N-able Mail Assure CVE-2026-134624 SSRF Added to CISA KEV (2026-11-24)