Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Lifecycle Timeline
4Blast Radius
ecosystem impact- 1,207 maven packages depend on org.springframework.security:spring-security-core (472 direct, 735 indirect)
Ecosystem-wide dependent count for version 6.5.0.
DescriptionCVE.org
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.
AnalysisAI
Time-of-check Time-of-use (TOCTOU) race condition in Spring Security's JdbcOneTimeTokenService allows unauthenticated remote attackers to bypass one-time token validation and gain unauthorized access. Affected versions include 6.4.0-6.4.15, 6.5.0-6.5.9, and 7.0.0-7.0.4. The vulnerability requires explicit configuration of One-Time Token login and involves high attack complexity, limiting real-world exploitation despite network accessibility.
Technical ContextAI
Spring Security's JdbcOneTimeTokenService implements one-time token (OTT) authentication by validating tokens stored in a relational database before marking them as consumed. The TOCTOU race condition occurs in the window between token validation (time-of-check) and token invalidation (time-of-use), allowing an attacker to exploit concurrent requests to reuse the same token multiple times. This is rooted in CWE-367 (Improper Restriction of Rendered UI Layers in a Multi-tier Architecture), indicating insufficient synchronization or atomic operations during the validate-then-consume sequence. The vulnerability affects applications using Spring Security's JDBC-backed token storage mechanism for passwordless authentication flows.
RemediationAI
Upgrade Spring Security to version 6.4.16 or later (6.4.x branch), 6.5.10 or later (6.5.x branch), or 7.0.5 or later (7.0.x branch). If immediate upgrade is not possible, disable JdbcOneTimeTokenService and switch to alternative authentication mechanisms (e.g., session-based authentication, OAuth2 with refresh tokens, or hardware tokens) until patching is feasible. As a temporary mitigation, implement database-level constraints to enforce token single-use semantics (unique constraint on consumed timestamp or consumed_at field) and configure connection pooling with transaction isolation level set to SERIALIZABLE for token validation operations; note that SERIALIZABLE isolation may impact performance under high concurrency. Review Spring Security advisory at https://spring.io/security/cve-2026-22751 for confirmation and additional guidance.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-24227
GHSA-x2wq-9x2f-fhj7