CVE-2026-22751 Details
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.
A Time-of-check Time-of-use (TOCTOU) race condition vulnerability has been identified in Spring Security versions 6.4.0 through 6.4.15, 6.5.0 through 6.5.9, and 7.0.0 through 7.0.4. This vulnerability affects applications that configure One-Time Token login using JdbcOneTimeTokenService. The issue allows an attacker with a valid one-time token to send concurrent requests to the authentication endpoint, enabling the token to be used multiple times and create several authenticated sessions. In contrast, the default InMemoryOneTimeTokenService is thread-safe and not vulnerable to this issue.
Users of Spring Security versions 6.4.x should upgrade to 6.4.16, users of 6.5.x should upgrade to 6.5.10, and users of 7.0.x should upgrade to 7.0.5.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2026-22751 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| vmware spring security | >= 6.4.0, < 6.4.16 >= 6.5.0, < 6.5.10 >= 7.0.0, < 7.0.5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | Initial Analysis | [email protected] |
| Apr 21, 2026 | New CVE Received | [email protected] |
| Apr 21, 2026 | CVE Modified | CISA-ADP |