LowGHSA-vxf7-qj7q-83fhCVE-2026-22746

Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider

Published 22 Apr 2026 · Updated 10 Sept 2026

Is your project on an affected org.springframework.security:spring-security-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=5.7.0 <=5.7.22
Fixed in
No fix released
Affected
>=5.8.0 <=5.8.24
Fixed in
No fix released
Affected
>=6.3.0 <=6.3.15
Fixed in
No fix released
Affected
>=6.4.0 <=6.4.15
Fixed in
No fix released
Affected
>=6.5.0 <6.5.10
Fixed in
6.5.10
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=6.5.10 -DforceVersion=true
Affected
>=7.0.0 <7.0.5
Fixed in
7.0.5
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=7.0.5 -DforceVersion=true

Details

Vulnerability in Spring Spring Security. If an application is using the UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked user attributes, to enable, expire, or lock users, then DaoAuthenticationProvider's timing attack defense can be bypassed for users who are disabled, expired, or locked. This issue affects Spring Security: from 5.7.0 through 5.7.22, from 5.8.0 through 5.8.24, from 6.3.0 through 6.3.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.

Is GHSA-vxf7-qj7q-83fh in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework.security:spring-security-core, and gives you the command that fixes it.

More advisories for org.springframework.security:spring-security-core

  • MediumCVE-2026-22751Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured · 21 Apr 2026
  • MediumCVE-2025-22234Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide · 22 Jan 2026
  • HighCVE-2025-41248Spring Security annotation detection mechanism has authorization bypass · 16 Sept 2025
  • CriticalCVE-2025-41232Spring Security authorization bypass for method security annotations on private methods · 21 May 2025
  • MediumCVE-2025-22223Spring Security Vulnerable to Authorization Bypass via Security Annotations · 24 Mar 2025
  • MediumCVE-2024-38827Spring Framework has Authorization Bypass for Case Sensitive Comparisons · 2 Dec 2024
All 31 advisories for org.springframework.security:spring-security-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.