CWE WEAKNESSES / CWE-918
CWE-918
Server-Side Request Forgery (SSRF)
Base
What it is
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Impact
| Confidentiality | Read Application Data |
| Integrity | Execute Unauthorized Code or Commands |
| Access Control | Bypass Protection Mechanism |
Real-world CVE examples
- CVE-2026-33626 — SSRF in LLM toolkit accesses arbitrary URLs for images, as exploited in the wild in April 2026 to conduct port scanning [REF-1519]
- CVE-2024-3095 — SSRF in LLM application development framework because the URL retriever allows connections to local addresses using a crafted Location header
- CVE-2023-32786 — Chain: LLM integration framework has prompt injection (CWE-1427) that allows an attacker to force the service to retrieve data from an arbitrary URL, essentiall
- CVE-2021-26855 — Server Side Request Forgery (SSRF) in mail server, as exploited in the wild per CISA KEV.
- CVE-2021-21973 — Server Side Request Forgery in cloud platform, as exploited in the wild per CISA KEV.
- CVE-2016-4029 — Chain: incorrect validation of intended decimal-based IP address format (CWE-1286) enables parsing of octal or hexadecimal formats (CWE-1389), allowing bypass o
- CVE-2002-1484 — Web server allows attackers to request a URL from another server, including other ports, which allows proxied scanning.
- CVE-2004-2061 — CGI script accepts and retrieves incoming URLs.
- CVE-2010-1637 — Web-based mail program allows internal network scanning using a modified POP3 port number.
- CVE-2009-0037 — URL-downloading library automatically follows redirects to file:// and scp:// URLs
Related weaknesses
Test & detect
Browse all common weaknesses, check related exploited CVEs, or map to ATT&CK techniques.
Source: MITRE CWE. View on cwe.mitre.org →