SecurityContext

CVE-2026-47838: Spring Security - Authentication Bypass

  • Cve: CVE-2026-47838
  • Name: Spring Security - Authentication Bypass
  • Description: SubjectDnX509PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user. Affected versions: Spring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.
  • Impact: Attackers can impersonate other users, potentially gaining unauthorized access to user accounts.
  • Remediation: Update to versions later than 5.7.24, 5.8.26, 6.3.17, 6.4.17, or 6.5.10 or the latest available version.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00133
  • Epss percentile: 0.02795
  • Assignee: [email protected]
  • Published at: 2026-06-10T00:16:54Z
  • Age in days: 167
  • Modified at: 2026-07-23T09:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-47838
  • 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-47838nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vmware:spring_security>= 6.5.0, < 6.5.11; >= 6.4.0, < 6.4.18; >= 6.3.0, < 6.3.18; >= 5.8.0, < 5.8.27; < 5.7.25nonvd/v1/products/vmware/spring_security

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-securityproductyes/v1/repositories/spring-projects/spring-security

Index

  • Repositories: 94
  • Repositories high signal: 58
  • Packages: 1

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