Vulnerability · Published Apr 21, 2026 · Assigned by vmware
CVE-2026-22751Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
Medium 4.8
In plain English
A medium-severity security flaw in Spring Security from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | 6.5.10 | GHSA-x2wq-9x2f-fhj7 |
| Maven | org.springframework.security:spring-security-core | 7.0.5 | GHSA-x2wq-9x2f-fhj7 |
| Maven | org.springframework.security:spring-security-core | no fix listed | GHSA-x2wq-9x2f-fhj7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 6.4.0 – through 6.4.156.5.0 – through 6.5.97.0.0 – through 7.0.4 |
Weakness: CWE-367 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N