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

Medium 4.8 Published Updated

Attackers can reuse one-time tokens to authenticate multiple sessions due to a race condition in Spring Security's JdbcOneTimeTokenService.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-22751?

CVE-2026-22751 is a medium-severity vulnerability in Spring Security, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-367

Which versions are affected by CVE-2026-22751?

6 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.

PackageAffectedFixed in
org.springframework.security:spring-security-core MavenFrom 6.4.0 to 6.4.13None
org.springframework.security:spring-security-core MavenFrom 6.4.0 to 6.4.13None
org.springframework.security:spring-security-core MavenFrom 6.5.06.5.10
org.springframework.security:spring-security-core MavenFrom 6.5.06.5.10
org.springframework.security:spring-security-core MavenFrom 7.0.37.0.5
org.springframework.security:spring-security-core MavenFrom 7.0.37.0.5

Products include Vmware Spring Security.

How do I fix CVE-2026-22751?

Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 6.5.10 or 7.0.5.

Is CVE-2026-22751 being exploited?

There is no known exploitation of CVE-2026-22751 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-GH15179, CLEANSTART-2026-WO51602, ECHO-44f0-ed43-bd18, GHSA-x2wq-9x2f-fhj7, MINI-273p-cjrj-584f, MINI-2xv4-m347-fr6j and 10 more.

Is CVE-2026-22751 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free