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

Published Apr 21, 2026
·
Updated

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 Software

4 affected components
Spring Spring Security>=6.4.0<=6.4.15, >=6.5.0<=6.5.9, >=7.0.0<=7.0.4
VMware Spring Security>=6.4.0<6.4.16
VMware Spring Security>=6.5.0<6.5.10
VMware Spring Security>=7.0.0<7.0.5

Event History

Apr 21, 2026
CVE Published
via MITRE·06:30 PM
Data Sourced
via MITRE·06:30 PM
DescriptionSeverity
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22751?

The severity of CVE-2026-22751 is classified as critical due to the potential for multiple sessions to be authenticated with a single one-time token.

2

How do I fix CVE-2026-22751?

To fix CVE-2026-22751, upgrade your Spring Security version to the latest version that addresses this vulnerability, such as 6.4.16 or newer.

3

Which versions of Spring Security are affected by CVE-2026-22751?

CVE-2026-22751 affects Spring Security versions 6.4.0 to 6.4.15, 6.5.0 to 6.5.9, and 7.0.0 to 7.0.4.

4

What causes CVE-2026-22751?

CVE-2026-22751 is caused by a Time-of-check Time-of-use (TOCTOU) race condition in the JdbcOneTimeTokenService implementation.

5

Is CVE-2026-22751 exploitable in production environments?

Yes, CVE-2026-22751 is exploitable in production environments where applications are configured to use JdbcOneTimeTokenService for one-time token authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203