Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 95%

CVE-2026-40995: CWE-287: Improper Authentication in Spring Spring Web Services

0
Medium
VulnerabilityCVE-2026-40995cvecve-2026-40995cwe-287
Published: 06/11/2026 (06/11/2026, 05:04:01 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Web Services

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 v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

org.springframework.ws/spring-ws-core
pkg:maven/org.springframework.ws/spring-ws-core
Affected versions
=5.0.0=5.0.2=4.1.0=4.1.4=4.0.0=4.0.19=3.1.0=3.1.9=5.0.0=4.1.0=4.0.0=3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 14:29:52 UTC

Technical Analysis

The vulnerability in Spring Web Services involves the X509AuthenticationProvider component issuing a fully authenticated X509AuthenticationToken when a presented certificate maps to UserDetails, but it fails to apply Spring Security's standard account lifecycle checks. These checks include verifying whether the user account is disabled, locked, expired, or has expired credentials. As a result, accounts that should be restricted due to their lifecycle state might still be authenticated successfully. The affected versions are Spring Web Services 5.0.0 through 5.0.1, 4.1.0 through 4.1.3, 4.0.0 through 4.0.18, and 3.1.0 through 3.1.8. No official patch or remediation guidance is currently provided by the vendor, and no known exploits are reported in the wild.

Potential Impact

This vulnerability can lead to improper authentication where user accounts that are disabled, locked, expired, or have expired credentials may still be authenticated if the presented certificate maps to UserDetails. This undermines the intended security controls around account lifecycle management, potentially allowing unauthorized access with limited privileges. The CVSS score of 5.4 (medium severity) reflects a network attack vector with low complexity and low privileges required, impacting confidentiality and integrity but not availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should review their use of X509AuthenticationProvider and consider additional custom checks to enforce account lifecycle status. Monitoring for unusual authentication activity related to certificate-based logins may help detect exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-16T02:19:12.969Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2a59ba318757064921d3b0

Added to database: 06/11/2026, 06:46:18 UTC

Last enriched: 06/24/2026, 14:29:52 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 77

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses