5.4

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

Analyzed
AliasesGHSA-6mfm-98wv-32wm
Published 11-06-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-40995 is a medium (CVSS 5.4) Improper Authentication vulnerability in broadcom spring_web_services. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 11-06-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Broadcom1 product
Org.springframework.ws1 product
  • spring-ws-security≥ 5.0.0, < 5.0.2 | ≥ 4.1.0, < 4.1.4 | ≥ 4.0.0, ≤ 4.0.18 | ≥ 3.1.0, ≤ 3.1.8
Spring1 product
  • spring web services≥ 5.0.0, < 5.0.1.1 | ≥ 4.1.0, < 4.1.3.1 | ≥ 4.0.0, < 4.0.19 | ≥ 3.1.0, < 3.1.9

3 vendors · 3 products

References

4 links