CVE-2026-22751 Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
Attackers can reuse one-time tokens to authenticate multiple sessions due to a race condition in Spring Security's JdbcOneTimeTokenService.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-22751?
CVE-2026-22751 is a medium-severity vulnerability in Spring Security, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-367
Which versions are affected by CVE-2026-22751?
6 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.security:spring-security-core Maven | From 6.4.0 to 6.4.13 | None |
org.springframework.security:spring-security-core Maven | From 6.4.0 to 6.4.13 | None |
org.springframework.security:spring-security-core Maven | From 6.5.0 | 6.5.10 |
org.springframework.security:spring-security-core Maven | From 6.5.0 | 6.5.10 |
org.springframework.security:spring-security-core Maven | From 7.0.3 | 7.0.5 |
org.springframework.security:spring-security-core Maven | From 7.0.3 | 7.0.5 |
Products include Vmware Spring Security.
How do I fix CVE-2026-22751?
Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 6.5.10 or 7.0.5.
Is CVE-2026-22751 being exploited?
There is no known exploitation of CVE-2026-22751 in the wild and no public exploit code.
Other vulnerabilities in Spring Security
- CVE-2014-3527 Authorization Bypass in Spring Security
- CVE-2026-59354 Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata
- CVE-2026-59270 Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
- CVE-2026-22732 Under Some Conditions Spring Security HTTP Headers Are not Written
- CVE-2023-34034 Access Control Bypass in Spring Security
Sources
Also known as CLEANSTART-2026-GH15179, CLEANSTART-2026-WO51602, ECHO-44f0-ed43-bd18, GHSA-x2wq-9x2f-fhj7, MINI-273p-cjrj-584f, MINI-2xv4-m347-fr6j and 10 more.