CVE-2026-40995

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductBroadcom Spring Web Services
PublishedJun 11, 2026
First seenJun 11, 2026

How to fix

Update
  • broadcom spring_web_services3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 or later
  • org.springframework.ws:spring-ws-security5.0.2, 4.1.4 or later

Affected products

ProductAffected versionsFixed in
broadcom spring_web_servicesv < 3.1.9, 4.0.0 ≤ v < 4.0.19, 4.1.0 ≤ v < 4.1.3.1, 5.0.0 ≤ v < 5.0.1.13.1.9, 4.0.19, 4.1.3.1, 5.0.1.1
org.springframework.ws:spring-ws-securityMaven5.0.0 ≤ v < 5.0.2, 4.1.0 ≤ v < 4.1.4, 4.0.0 ≤ v ≤ 4.0.18, 3.1.0 ≤ v ≤ 3.1.85.0.2, 4.1.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.