CVE-2025-22234: Spring Security · Timing Descrepency
Affects Spring SecuritySource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Security | Affected
| Fixed in– |
Mavenorg.springframework.security/spring-security-corepkg:maven/org.springframework.security/spring-security-coreOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately identify and inventory all applications using affected Spring Security versions (5.7.16, 5.8.18, 6.0.16 through 6.4.4). Until an official patch is released, implement compensating controls such as introducing artificial delays or uniform response times in authentication workflows to obscure timing differences. Employ Web Application Firewalls (WAFs) with rate limiting and anomaly detection to detect and block suspicious probing activity targeting login endpoints. Review and enhance logging and monitoring to detect unusual authentication patterns indicative of enumeration attempts. Encourage use of multi-factor authentication (MFA) to reduce the impact of username enumeration. Educate development teams on secure coding practices to avoid timing side channels in authentication logic. Stay updated with Spring Security advisories for forthcoming patches and apply them promptly once available. Consider deploying application-layer defenses like CAPTCHA challenges after multiple failed login attempts to hinder automated attacks exploiting this vulnerability.
Description
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.