CVE Catalog

CVE-2026-22751

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

Vulnerability in Spring Security affects applications that explicitly configure One-Time Token login with JdbcOneTimeTokenService. A Time-of-check Time-of-use (TOCTOU) race condition may lead to improper functioning of the one-time token mechanism.

Risk Assessment

An attacker could exploit the race condition to bypass the one-time token mechanism, potentially gaining unauthorized access. However, this requires a specific application configuration.

Recommendation

Update Spring Security to a version containing the fix (outside ranges 6.4.0-6.4.15, 6.5.0-6.5.9, 7.0.0-7.0.4). Review JdbcOneTimeTokenService configuration and consider alternative authentication methods until patched.

Other vulnerabilities in Spring Security

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS