Skip to main content

Spring Framework CVE-2026-41854

| EUVDEUVD-2026-35343 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-09 vmware GHSA-7m2p-62gw-p8qq
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify application endpoint accepting external URLs
  2. Delivery
    Craft URL with malformed host to bypass UriComponentsBuilder parsing
  3. Exploit
    Submit URL triggering server-side validation
  4. Execution
    Incorrect host parsing passes allowlist check
  5. Persist
    Application server issues SSRF request to unintended host
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Framework 7.0.0 <7.0.8
Spring Framework 6.2.0 <6.2.19

Affected Packages

maven org.springframework:spring-web fix: 6.2.19, 7.0.8
euvd spring_framework fix: 6.2.19, 7.0.8

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Red Hat 4.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 15, 2026 - 19:22 NVD
4.2 (MEDIUM) 6.5 (MEDIUM)
Patch available
Jun 09, 2026 - 06:01 EUVD

DescriptionNVD

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

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy