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.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.1%top 97.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.security:spring-security-core6.5.10GHSA-x2wq-9x2f-fhj7
Mavenorg.springframework.security:spring-security-core7.0.5GHSA-x2wq-9x2f-fhj7
Mavenorg.springframework.security:spring-security-coreno fix listedGHSA-x2wq-9x2f-fhj7

Affected products (as reported)

VendorProductVersions
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

References