CVE-2025-22234Spring Security
Medium 5.3 No auth needed
Follow: this CVE · Spring · Spring Security We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 32
- Auth required
- No
- Published
- Jan 22, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-208
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.
What to do
- Apply the vendor's security update for Spring Security.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core |
≥ 6.3.8 < 6.3.9 |
6.3.9 |
— |
| Maven | org.springframework.security:spring-security-core |
≥ 6.4.4 < 6.4.5 |
6.4.5 |
— |
Per OSV / GitHub Advisories (GHSA-vqxh-445g-37fc). Check the version in your lockfile before upgrading.
Affected products
- Spring · Spring Security
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.