Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed SAML ACS or SLO endpoint
-
DeliveryCraft SAML payload with attacker-controlled encrypted element (no valid signature)
-
ExploitSubmit payload to SP over network
-
ExecutionObserve SP decryption response or error signal
-
PersistIterate modified ciphertext to build decryption oracle
-
ImpactRecover plaintext from SAML assertion data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires the target application to have Spring Security's SAML 2.0 integration enabled, specifically with at least one of the following features active: SAML SSO (exposing an Assertion Consumer Service endpoint) or SAML Single Logout (exposing a LogoutRequest or LogoutResponse endpoint). These endpoints must be network-reachable by the attacker, which is their normal deployment posture as they are designed to receive IdP-posted assertions from browsers or IdPs. CVSS PR:N confirms no authentication is required to submit to these endpoints. Exploitation is limited by high attack complexity (AC:H): a successful oracle attack requires multiple crafted requests with iterative ciphertext modification and observable response differentiation - it cannot be achieved with a single request. The attack does not apply to Spring Security deployments using only OAuth2, OIDC, LDAP, or form-based authentication without the SAML module configured. |
| Impact | CVSS 3.7 (Low) with AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N reflects a network-reachable, unauthenticated attack that is non-trivial to execute and yields only limited confidentiality impact. High attack complexity (AC:H) is consistent with decryption oracle attacks, which require multiple crafted interactions and careful response analysis - this is not a single-shot exploit. There is no CISA KEV listing and no public exploit identified at time of analysis; EPSS data was not provided in the input, so exploitation probability cannot be quantified. Despite the low CVSS, the real-world risk is context-dependent: applications in healthcare, finance, or enterprise identity that handle sensitive SSO assertions face a more meaningful threat from plaintext disclosure than the score alone suggests. The confidentiality impact (C:L) applies specifically to SAML-protected data, which may include authentication tokens or user attributes. No conflicting signals between CVSS and description were identified - network vector and unauthenticated access align with the public-facing nature of SAML ACS and SLO endpoints. |
| Exploit ScenarioDerived | An attacker who identifies that a target application exposes a Spring Security SAML ACS or SLO endpoint submits a sequence of crafted SAML messages containing attacker-controlled encrypted XML elements - without a valid IdP signature - directly to those endpoints over HTTPS. Because the SP decrypts the payload before checking signature validity, it applies its private key to the attacker's ciphertext and may leak decryption success or failure through HTTP response codes, error messages, or timing differences. No public exploit has been identified at time of analysis, but this oracle interaction pattern allows systematic plaintext recovery of SAML assertion data over multiple requests. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Decryption oracle exposure in Spring Security's SAML module allows unauthenticated remote attackers (PR:N, AV:N per CVSS) to submit crafted SAML Responses, LogoutRequests, and LogoutResponses to a Service Provider endpoint and leverage the SP's private key for decryption without presenting a valid XML signature. Affected deployments span Spring Security 5.7.x through 7.0.x that use SAML-based SSO or Single Logout. No public exploit has been identified at time of analysis and EPSS data was not provided, but the attack class (XML encryption oracle) is well-documented in SAML security research and carries meaningful risk in identity-sensitive environments.
RemediationAI
Consult the vendor advisory at https://spring.io/security/cve-2026-41694 for the definitive patched release versions - exact fix version numbers were not included in the input data and could not be independently confirmed (patch available per vendor advisory). As a compensating control, restrict access to the SAML Assertion Consumer Service (ACS) and Single Logout (SLO) endpoints at the network perimeter or WAF layer to known Identity Provider source IP ranges, which removes the ability for arbitrary actors to submit crafted payloads; note this requires accurate and maintained IdP IP allowlisting and may break federated scenarios with dynamic or multi-tenant IdP infrastructure. Additionally, enforcing that the application requires valid IdP signatures on all inbound SAML messages before any processing (if configurable outside the library) provides defense in depth. If SLO is not a required feature, disabling it entirely eliminates the LogoutRequest and LogoutResponse attack surface with no SSO impact. Organizations should prioritize patching environments where SAML assertions carry high-value identity claims.
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
Spring Security's SAML 2.0 support implements SSO and Single Logout (SLO) by processing XML-encrypted assertions and message elements. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): the implementation follows a 'decrypt-then-verify' ordering rather than the secure 'verify-then-decrypt' pattern. Because signature validation is not enforced prior to decryption of SAML Responses and logout message elements, the Service Provider's private key is exercised on attacker-supplied ciphertext. This is a classic XML Encryption Attack / SAML decryption oracle pattern - by submitting iteratively modified ciphertext blobs and observing error-based or timing-based response differences, an attacker can recover plaintext. The affected Java library spans Spring Security 5.7.0 through 7.0.5. The 'Jwt Attack' tag in the source metadata appears inconsistent with the XML-based SAML mechanism described and is likely a metadata artifact; the vulnerability is not JWT-related. No CPE strings were supplied in the input data.
Know when Spring Security 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:N/A:N
Primary rating from Vendor (vmware).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Since Spring Security SAML decrypts SAML Responses as well as elements of SAML LogoutRequests and LogoutResponses without requiring a valid signature, attackers may be able to craft these SAML payloads and use the Service Provider as a decryption oracle.
Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.
Blast Radius
ecosystem impact- 3 maven packages depend on org.springframework.security:spring-security-saml2-service-provider (1 direct, 2 indirect)
Ecosystem-wide dependent count for version 7.0.0.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Spring Security Auth and Injection Flaws
View all 6More in Spring Security
View allWhen using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano
Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri
Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass v
In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea
Authentication bypass in VMware/Spring's Spring Authorization Server (versions 7.0.0-7.0.4, 1.5.0-1.5.6, 1.4.0-1.4.9, an
Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authoriz
Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b
Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach
Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported
Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during
EUVD-2026-35889
GHSA-ww38-37g9-m3q3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB