CVE-2026-22751

Medium

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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductVmware Spring Security
PublishedApr 21, 2026
First seenApr 21, 2026
Weakness typeCWE-367CWE-367

How to fix

Update
  • vmware spring_security6.4.16, 6.5.10, 7.0.5 or later
  • org.springframework.security:spring-security-core6.5.10, 7.0.5 or later

Affected products

ProductAffected versionsFixed in
vmware spring_security6.4.0 ≤ v < 6.4.16, 6.5.0 ≤ v < 6.5.10, 7.0.0 ≤ v < 7.0.56.4.16, 6.5.10, 7.0.5
org.springframework.security:spring-security-coreMaven6.5.0 ≤ v < 6.5.10, 7.0.3 ≤ v < 7.0.5, 6.4.0 ≤ v ≤ 6.4.136.5.10, 7.0.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.