SecurityContext

CVE-2026-40995: Spring Web Services - Authentication Bypass

  • Cve: CVE-2026-40995
  • Name: Spring Web Services - Authentication Bypass
  • 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.
  • Impact: Attackers can bypass account restrictions like disabled or locked status, gaining unauthorized access.
  • Remediation: Update to a version later than 5.0.1 or the latest available version.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00148
  • Epss percentile: 0.03986
  • Assignee: [email protected]
  • Published at: 2026-06-11T07:16:27Z
  • Age in days: 166
  • Modified at: 2026-09-04T17:10:23Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40995
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-287Improper Authentication

References

UrlSourceTags
https://spring.io/security/cve-2026-40995nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
broadcom: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.9nonvd/v1/products/broadcom/spring_web_services

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-wscommit, packageyes/v1/repositories/spring-projects/spring-ws

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts