What’s Vulnerable › Vulnerabilities
CVE-2026-22751: Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-21 · updated 2026-10-26
- Weakness: CWE-367
Description
Vulnerability in Spring Spring Security. Applications that explicitly configure One-Time Token login with JdbcOneTimeTokenService are vulnerable to a Time-of-check Time-of-use (TOCTOU) race condition. This issue affects Spring Security: from 6.4.0 through 6.4.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.
Affected products
- Spring Security: from 6.4.0 before 6.4.16; from 6.5.0 before 6.5.10; from 7.0.0 before 7.0.5 — fixed in 6.4.16, 6.5.10, 7.0.5
- Spring Security: from 6.4.0 through 6.4.15; from 6.5.0 through 6.5.9; from 7.0.0 through 7.0.4
How to fix
Upgrade to a fixed version: Spring Security 6.4.16, 6.5.10, 7.0.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-22751 or the next vulnerability affects your stack