Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.security:spring-security-core | >= 6.5.0, < 6.5.10, >= 7.0.3, < 7.0.5, >= 6.4.0, <= 6.4.13 | 6.5.10, 7.0.5 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2026-22751
- https://github.com/spring-projects/spring-security/commit/163772775036c4146815a5266874278c6f45f047
- https://github.com/spring-projects/spring-security/commit/4187af38b251fc97fdf9949f7869618111e6e261
- https://github.com/spring-projects/spring-security
- https://jinyeong.seol.pro/blogs/cve-2026-22751/en
- https://spring.io/security/cve-2026-22751
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N- Schwäche (CWE)
CWE-367- Plattform
- Java / Kotlin (Maven)
- Paket
org.springframework.security:spring-security-core- Veröffentlicht
- 21.04.2026
- Aktualisiert
- 11.10.2026 13:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-x2wq-9x2f-fhj7 - CC BY 4.0
Schwachstellenhistorie: org.springframework.security:spring-security-core
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 31
- Erste → letzte
- 10.2018 04.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 4
- Hoch 11
- Mittel 15
- Niedrig 1
Veröffentlichungen pro Jahr
- 2018: 3
- 2019: 2
- 2020: 4
- 2021: 1
- 2022: 10
- 2023: 1
- 2024: 4
- 2025: 3
- 2026: 3
-
Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.