Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-22751 EUVD-2026-24227GHSA-x2wq-9x2f-fhj7

Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by vmware

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

VendorProductAffectedFixed
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

ReleasePackageFixed inAdvisory
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

Advisories 2

References