Skip to main content

Spring Security EUVDEUVD-2026-35889

| CVE-2026-41694 MEDIUM
Improper Verification of Cryptographic Signature (CWE-347)
2026-06-10 security@vmware.com GHSA-ww38-37g9-m3q3
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed SAML ACS or SLO endpoint
  2. Delivery
    Craft SAML payload with attacker-controlled encrypted element (no valid signature)
  3. Exploit
    Submit payload to SP over network
  4. Execution
    Observe SP decryption response or error signal
  5. Persist
    Iterate modified ciphertext to build decryption oracle
  6. Impact
    Recover 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.

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

Spring Security 7.0.0 <7.0.6
Spring Security 5.8.0 <5.8.26
Spring Security 6.3.0 <6.3.17
Spring Security 5.7.0 <5.7.24
Spring Security 6.4.0 <6.4.17
Spring Security 6.5.0 <6.5.11

Affected Packages

maven org.springframework.security:spring-security-saml2-service-provider fix: 6.5.11, 7.0.6
euvd spring_security fix: 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.11, 7.0.6

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

Vendor (vmware) PRIMARY LOW
NVD 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (vmware).

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Jun 12, 2026 - 20:37 NVD
LOW MEDIUM
CVSS changed
Jun 12, 2026 - 20:37 NVD
3.7 (LOW) 5.3 (MEDIUM)
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionNVD

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2014-3527 CRITICAL
9.8 May 25

When using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano

CVE-2023-34034 CRITICAL
9.8 Jul 19

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri

CVE-2022-31692 CRITICAL
9.8 Oct 31

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

CVE-2022-22978 CRITICAL
9.8 May 19

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea

CVE-2026-22752 CRITICAL
9.6 Jul 16

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

CVE-2023-34035 MEDIUM POC
5.3 Jul 18

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

CVE-2018-1258 HIGH
8.8 May 11

Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b

CVE-2026-111235 CRITICAL
9.1 Oct 15

Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach

CVE-2026-59270 CRITICAL
9.1 Aug 27

Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ

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.

CVE-2021-22112 HIGH
8.8 Feb 23

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

CVE-2020-5407 HIGH
8.8 May 13

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

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