CVE-2026-40995: X.509 authentication bypasses Spring Security account checks

Published Jun 11, 2026
·
Updated

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.

Affected Software

5 affected components
Spring Spring Web Services>=5.0.0<=5.0.1, >=4.1.0<=4.1.3, >=4.0.0<=4.0.18, >=3.1.0<=3.1.8
Broadcom Spring Web Services<3.1.9
Broadcom Spring Web Services>=4.0.0<4.0.19
Broadcom Spring Web Services>=4.1.0<4.1.3.1
Broadcom Spring Web Services>=5.0.0<5.0.1.1

Event History

Jun 11, 2026
CVE Published
via MITRE·05:04 AM
Data Sourced
via MITRE·05:04 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40995?

CVE-2026-40995 has a medium severity rating of 5.4.

2

How do I fix CVE-2026-40995?

To fix CVE-2026-40995, update to a version of Spring Web Services that addresses this vulnerability.

3

What impact does CVE-2026-40995 have on my application?

CVE-2026-40995 allows for an authentication bypass, which can lead to unauthorized access to accounts.

4

What versions of Spring Web Services are affected by CVE-2026-40995?

CVE-2026-40995 affects specific versions of Spring Web Services that utilize the X509AuthenticationProvider.

5

Is user data at risk due to CVE-2026-40995?

Yes, CVE-2026-40995 can potentially expose user data if account checks are bypassed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203