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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Security | 6.4.0 – ≤ 6.4.15, 6.5.0 – ≤ 6.5.9, 7.0.0 – ≤ 7.0.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-nifi | 2.9.0-r0 | — |
| Wolfi rolling | apache-nifi-registry +1 | 2.9.0-r4 | — |
| Wolfi rolling | jenkins-2-openjdk-21 +1 | 2.555.1-r1 | — |
| Wolfi rolling | thingsboard-tb-node | 4.3.1.1-r11 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | >= 6.5.0, < 6.5.10 | 6.5.10 | GHSA-x2wq-9x2f-fhj7 |
| Maven | org.springframework.security:spring-security-core | >= 7.0.3, < 7.0.5 | 7.0.5 | GHSA-x2wq-9x2f-fhj7 |
| Maven | org.springframework.security:spring-security-core | >= 6.4.0, <= 6.4.13 | — | GHSA-x2wq-9x2f-fhj7 |
Advisories 2
- WID-SEC-2026-1221 VMware Tanzu Spring Security: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2026
- WID-SEC-2026-2260 IBM Operational Decision Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 8, 2026