Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify application endpoint accepting external URLs
-
DeliveryCraft URL with malformed host to bypass UriComponentsBuilder parsing
-
ExploitSubmit URL triggering server-side validation
-
ExecutionIncorrect host parsing passes allowlist check
-
PersistApplication server issues SSRF request to unintended host
-
ImpactAttacker receives response or accesses internal resource
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application explicitly uses UriComponentsBuilder to parse a URL string that is fully or partially controlled by an external party - this is the precise condition described in the advisory. If the application independently constructs URLs without accepting external host input, or uses a different URI parsing library, it is not affected. The CVSS vector specifies User Interaction Required (UI:R), meaning a user or automated process must trigger the vulnerable code path with attacker-controlled input rather than the attacker invoking it directly. Attack Complexity is High (AC:H), indicating that simply supplying any URL is insufficient; the attacker must craft a URL whose host representation exploits the specific parsing flaw. PR:N confirms no authentication to the application is needed. Limiting factors include: the application must trust and forward the attacker-supplied URL server-side rather than merely reflecting it, and the AC:H condition implies reliable exploitation is non-trivial. |
| Impact | The CVSS 3.1 base score of 4.2 (Medium) is calibrated by several mitigating vector components. Attack Complexity is High (AC:H), indicating the exploit requires specific conditions or precision beyond a simple network request. User Interaction is Required (UI:R), meaning exploitation depends on a user or application process triggering the vulnerable code path with attacker-controlled input - reducing the purely opportunistic risk. Scope is Unchanged (S:U) and impacts are bounded at Low confidentiality (C:L) and Low integrity (I:L), with no availability impact (A:N). No EPSS score was provided in the input data. There is no CISA KEV listing and no public exploit code identified at time of analysis. The practical risk is therefore most elevated in architectures where: (1) user-supplied URLs are processed by UriComponentsBuilder and then forwarded server-side, and (2) the internal network contains services accessible from the Spring application host. SSRF in Spring Framework has historically been leveraged to pivot to cloud metadata endpoints (e.g., AWS IMDSv1) or internal APIs; defenders should weigh that context even at a lower CVSS score. The AC:H signal is consistent with the host-parsing bypass requiring crafted, non-obvious URL encoding or delimiter manipulation. |
| Exploit ScenarioDerived | An attacker submits a crafted URL containing a malformed or ambiguously encoded host component to an application endpoint that passes the value to UriComponentsBuilder for parsing and validation. The incorrect host parsing causes the application's URL allowlist check to succeed against an unintended host representation; the application then issues a server-side HTTP request to an internal resource (e.g., a cloud provider metadata service or an internal API) that the attacker cannot reach directly. No public exploit identified at time of analysis, but the AC:H rating suggests the host encoding bypass requires non-trivial crafting. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Server-side request forgery (SSRF) in Spring Framework's UriComponentsBuilder affects applications that use this API to parse and validate externally supplied URL strings. Incorrect host parsing allows a remote, unauthenticated attacker - with user interaction - to cause the application server to issue requests to unintended internal or external destinations, exposing low-level confidentiality and integrity impacts. No public exploit identified at time of analysis and no CISA KEV listing; however, SSRF in widely deployed Java frameworks warrants attention in any internet-facing application that processes user-controlled URLs.
RemediationAI
Patch available per vendor advisory at https://spring.io/security/cve-2026-41854; the exact fixed version number is not confirmed from the data available at time of analysis - consult the Spring security advisory directly to identify the patched release for your branch (6.2.x or 7.0.x). Until a patch can be applied, the most actionable compensating control is to avoid using UriComponentsBuilder as the sole validation mechanism for externally supplied URLs: supplement or replace it with an explicit allowlist comparison performed on the raw, unparsed string before it is passed to UriComponentsBuilder, eliminating the bypass window. Applications that do not process externally provided URL strings through UriComponentsBuilder are not affected and require no action. Restricting outbound HTTP egress from the Spring application host to only explicitly required destinations via network-layer controls (firewall rules, security groups) limits the blast radius of any successful SSRF exploitation. Note that egress restrictions do not prevent exploitation but do reduce the attacker's ability to reach sensitive internal services such as cloud metadata endpoints.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
UriComponentsBuilder is a core Spring Framework utility (package org.springframework.web.util) used to programmatically parse, build, and encode URIs. Applications commonly use it as a validation or normalization layer before following or forwarding externally supplied URLs. The root cause is classified as CWE-918 (Server-Side Request Forgery): the host component of a crafted URL is parsed incorrectly, causing the framework to resolve a different host than the one the application developer intended to validate or block. This can allow bypass of URL allowlists or deny-lists that rely on UriComponentsBuilder's parsed output. The vulnerability is present in the cpe:2.3:a:spring:spring_framework:*:*:*:*:*:*:*:* product line across the 6.2.x and 7.0.x release trains, both of which are actively maintained Java library releases distributed via Maven Central. The Java/SSRF/Spring Framework tags confirm this is exclusively a JVM ecosystem issue.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Due to incorrect host parsing, applications that rely on UriComponentsBuilder to parse and validate an externally provided URL string may be exposed to a server-side request forgery (SSRF) attack.
Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Related Vulnerabilities in Spring Framework DoS, Injection, and Auth Vulnerabilities
View all 18Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-35343
GHSA-7m2p-62gw-p8qq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB