Skip to main content
← All vulnerabilities
CVE-2026-40995GHSA-6MFM-98WV-32WM

X.509 authentication bypasses Spring Security account checks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.1.1, 4.1.3.1, 4.0.19, 3.1.9, 5.0.2, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

X509AuthenticationProvider could issue a fully authenticated X509AuthenticationToken when a presented certificate mapped to UserDetails, without applying Spring Security's standard account lifecycle checks (disabled, locked, expired, or credentials-expired accounts). Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring Spring Web Services

    From 5.0.0 · fixed in 5.0.1.1; From 4.1.0 · fixed in 4.1.3.1; From 4.0.0 · fixed in 4.0.19; From 3.1.0 · fixed in 3.1.9

  • org.springframework.ws:spring-ws-securityMaven

    From 5.0.0 · fixed in 5.0.2

  • org.springframework.ws:spring-ws-securityMaven

    From 4.1.0 · fixed in 4.1.4

  • org.springframework.ws:spring-ws-securityMaven

    From 4.0.0 · through 4.0.18

  • org.springframework.ws:spring-ws-securityMaven

    From 3.1.0 · through 3.1.8

References 1

spring.io