Skip to main content

Spring Framework CVE-2026-41839

| EUVDEUVD-2026-35326 MEDIUM
Session Fixation (CWE-384)
2026-06-09 vmware GHSA-4hfh-6x8g-gwpp
4.2
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Identify XSS-vulnerable subdomain sharing parent domain
  2. Delivery
    Inject script to plant known session cookie on parent domain
  3. Exploit
    Lure victim to authenticate on WebFlux application
  4. Execution
    Server binds attacker-known session ID to authenticated session
  5. Impact
    Replay session ID to access application as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session fixation prevention
Exploitation Conditions

Exploitation requires two compounding preconditions: first, the attacker must have already achieved code execution or XSS on a subdomain of the target application's parent domain (or accomplished a subdomain takeover), which is a non-trivial prerequisite that substantially raises exploitation cost; second, a victim user must visit and authenticate on the WebFlux application while their browser carries the attacker-planted session ID (UI:R). The attacker themselves requires no account on the target application (PR:N). The vulnerability is scoped to WebFlux (reactive stack) applications - applications built on Spring MVC are not identified as affected. The primary factor limiting exploitation is the subdomain compromise requirement: environments with no shared-domain subdomains, with strict SameSite=Strict cookie policies already in place, or with session ID regeneration enforced on login are substantially protected even on affected versions. The CVSS AC:H designation directly encodes this dependency.

Impact

The CVSS 4.2 score accurately reflects a vulnerability with meaningful constraints on exploitability. The vector AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N encodes several important limiters: AC:H indicates high attack complexity because the attacker must first compromise a subdomain - a non-trivial prerequisite - and UI:R means the victim must interact (authenticate) during the attack window. The resulting impact is limited to partial confidentiality and integrity loss with no availability impact and no scope change. EPSS data is not available in the provided intelligence; without it, base-rate exploitation probability cannot be quantified. The absence of a CISA KEV listing and no publicly available exploit code further suggest this is not being exploited at scale. Real-world risk is elevated specifically for organizations hosting user-generated content, third-party widgets, or legacy services on subdomains sharing the same parent domain as a WebFlux application. Organizations with subdomain isolation, strict SameSite cookie policies, and CSP headers will see substantially reduced practical risk. This is not a 'network-default-exploitable' vulnerability despite AV:N - the subdomain compromise prerequisite is load-bearing.

Exploit ScenarioDerived

An attacker identifies an XSS vulnerability in a subdomain (e.g., cdn.example.com) that shares a parent domain with a target WebFlux application (app.example.com). The attacker injects a script that writes a known, attacker-controlled session cookie value scoped to .example.com into the victim's browser. When the victim subsequently authenticates on app.example.com, the WebFlux session management binds the pre-planted session ID to the authenticated session; the attacker then presents that same session ID to the application and gains access as the authenticated user. No public exploit code for this specific CVE has been identified.

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

Session fixation in Spring Framework's WebFlux reactive stack (versions 5.3.x through 7.0.x) enables a remote attacker to hijack an authenticated user's session by leveraging a compromised subdomain - typically via cross-site scripting - to plant a known session ID and exchange it for the victim's authenticated session post-login. The attack is classified as CWE-384 and requires both a prior subdomain compromise and user interaction, placing real-world exploitability well below the headline concern for most deployments. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

The primary fix is to upgrade Spring Framework beyond the affected version ranges. Per the vendor advisory at https://spring.io/security/cve-2026-41839, applications running 7.0.0-7.0.7 should upgrade to a release above 7.0.7; those on 6.2.0-6.2.18 should upgrade beyond 6.2.18; those on 6.1.0-6.1.27 should upgrade beyond 6.1.27; and those on 5.3.0-5.3.48 should upgrade beyond 5.3.48. Exact first-fixed release numbers are not independently specified in the available intelligence - consult the vendor advisory to confirm the precise patched build for each line. As compensating controls where immediate patching is not feasible: configure session cookies with SameSite=Strict to prevent cross-site cookie injection (note: this may break legitimate cross-origin authentication flows); set the Secure flag on session cookies to prevent transmission over unencrypted channels; deploy strict Content Security Policy headers on all subdomains sharing the parent domain to reduce XSS footholds; audit all subdomains for XSS vulnerabilities and subdomain takeover exposure; and ensure the application regenerates session IDs upon authentication to invalidate pre-planted sessions. Session regeneration on login is the most direct architectural mitigation.

Affected VersionsENISA

Spring Framework 6.1.0 <6.1.28
Spring Framework 5.3.0 <5.3.49
Spring Framework 6.2.0 <6.2.19
Spring Framework 7.0.0 <7.0.8

Affected Packages

maven org.springframework:spring-webflux fix: 6.2.19, 7.0.8
euvd spring_framework fix: 5.3.49, 6.1.28, 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

Spring Framework's WebFlux module is the reactive, non-blocking HTTP stack built on Project Reactor, distinct from the traditional Spring MVC servlet stack. CVE-2026-41839 maps to CWE-384 (Session Fixation), a vulnerability class where an attacker pre-establishes or injects a session identifier before a user authenticates; once the user logs in, the server binds that known session ID to the now-authenticated session, giving the attacker access. The mechanism exploited here relies on subdomain cookie scope: a script executing on a compromised subdomain (e.g., assets.example.com) can write cookies scoped to the parent domain (example.com), thereby planting an attacker-controlled session ID into the victim's browser before they authenticate on the WebFlux application. The CPE string cpe:2.3:a:spring:spring_framework confirms the vulnerability spans the core Spring Framework library across four active version lines: 5.3.x, 6.1.x, 6.2.x, and 7.0.x. The Spring Framework is maintained by VMware/Broadcom and is among the most widely deployed Java application frameworks globally.

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

Vendor (vmware) PRIMARY 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Red Hat 4.2 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

1
Patch available
Jun 09, 2026 - 06:01 EUVD

DescriptionCVE.org

A WebFlux application with a compromised subdomain (for example, compromised via cross-site scripting (XSS)) is vulnerable to an escalation attack exchanging a known session ID for that of an authenticated user.

Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.springframework:spring-webflux (5 direct, 1 indirect)

Ecosystem-wide dependent count for version 7.0.0.

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

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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