GitHub Advisoryadvisory · Maven
GHSA-ww38-37g9-m3q3 Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads
LOW
Official page ↗
- Aliases
- CVE-2026-41694
- Ecosystem
- Maven
- Packages
- org.springframework.security:spring-security-saml2-service-provider
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-347
- Reviewed
- 2026-08-12
Affected packages
• Maven org.springframework.security:spring-security-saml2-service-provider: >= 7.0.0, < 7.0.6 → fixed in 7.0.6
• Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.5.0, < 6.5.11 → fixed in 6.5.11
• Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.4.0, <= 6.4.16 (no fix yet)
• Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.3.0, <= 6.3.16 (no fix yet)
• Maven org.springframework.security:spring-security-saml2-service-provider: >= 5.8.0, <= 5.8.25 (no fix yet)
• Maven org.springframework.security:spring-security-saml2-service-provider: <= 5.7.23 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2026-41694 Since Spring Security SAML decrypts SAML Responses as well as elements of SAML LogoutRequests and LogoutResponses without requiring a valid… vulnerability
Weakness · CWE (1)
- CWE-347 Improper Verification of Cryptographic Signature weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41694 advisory
- https://github.com/spring-projects/spring-security package
- https://github.com/spring-projects/spring-security/releases/tag/6.5.11 web
- https://github.com/spring-projects/spring-security/releases/tag/7.0.6 web
- https://spring.io/security/cve-2026-41694 web