Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
Published Apr 21, 2026
4.8
MEDIUMCVSS 3.1
EPSS 0.12%
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.
Affected products
-
- Version 6.4.0StatusaffectedConstraints<=6.4.15
- Version 6.5.0StatusaffectedConstraints<=6.5.9
- Version 7.0.0StatusaffectedConstraints<=7.0.4
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Security | unaffected |
|
- ≥ 6.4.0 · < 6.4.16
- ≥ 6.5.0 · < 6.5.10
- ≥ 7.0.0 · < 7.0.5
No data.
OpenShift Developer Tools and Services
jenkins
Fix deferred
OpenShift Developer Tools and Services
ocp-tools-4/jenkins-rhel8
Fix deferred
OpenShift Developer Tools and Services
ocp-tools-4/jenkins-rhel9
Fix deferred
Red Hat Data Grid 8
spring-security-core
Fix deferred
Red Hat Fuse 7
org.apache.servicemix.bundles.spring-security-core
Fix deferred
Red Hat Fuse 7
spring-security-core
Fix deferred
Red Hat JBoss Enterprise Application Platform 7
spring-security-core
Fix deferred
Red Hat JBoss Enterprise Application Platform 8
quarkus-spring-security-core-api
Fix deferred
Red Hat JBoss Enterprise Application Platform 8
spring-security-core
Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion Pack
quarkus-spring-security-core-api
Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion Pack
spring-security-core
Fix deferred
Red Hat OpenShift Dev Spaces
devspaces/openvsx-rhel9
Fix deferred
Red Hat OpenShift Dev Spaces
devspaces/pluginregistry-rhel9
Fix deferred
Red Hat Process Automation 7
spring-security-core
Fix deferred
Red Hat Single Sign-On 7
spring-security-core
Fix deferred
Red Hat build of Apache Camel - HawtIO 4
spring-security-core
Fix deferred
Red Hat build of Apache Camel for Spring Boot 4
spring-security-core
Fix deferred
Red Hat build of Quarkus
quarkus-spring-security-core-api
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Developer Tools and Services | jenkins | Fix deferred | n/a |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Fix deferred | n/a |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel9 | Fix deferred | n/a |
| Red Hat Data Grid 8 | spring-security-core | Fix deferred | n/a |
| Red Hat Fuse 7 | org.apache.servicemix.bundles.spring-security-core | Fix deferred | n/a |
| Red Hat Fuse 7 | spring-security-core | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform 7 | spring-security-core | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform 8 | quarkus-spring-security-core-api | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform 8 | spring-security-core | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | quarkus-spring-security-core-api | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | spring-security-core | Fix deferred | n/a |
| Red Hat OpenShift Dev Spaces | devspaces/openvsx-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel9 | Fix deferred | n/a |
| Red Hat Process Automation 7 | spring-security-core | Fix deferred | n/a |
| Red Hat Single Sign-On 7 | spring-security-core | Fix deferred | n/a |
| Red Hat build of Apache Camel - HawtIO 4 | spring-security-core | Fix deferred | n/a |
| Red Hat build of Apache Camel for Spring Boot 4 | spring-security-core | Fix deferred | n/a |
| Red Hat build of Quarkus | quarkus-spring-security-core-api | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Apr 21, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Apr–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.12% (0.00124) | 1.89th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.12% (0.00124) | 2.49th | v5 (v2026.06.15) |
| Apr 22, 2026 | 0.03% (0.00025) | 6.95th | v4 (v2025.03.14) |
References (9)
- https://access.redhat.com/security/cve/CVE-2026-22751 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2460211 Issue Tracking
- https://github.com/advisories/GHSA-x2wq-9x2f-fhj7 Advisory
- https://github.com/spring-projects/spring-security/commit/163772775036c4146815a5266874278c6f45f047
- https://github.com/spring-projects/spring-security/commit/4187af38b251fc97fdf9949f7869618111e6e261
- https://jinyeong.seol.pro/blogs/cve-2026-22751/en
- https://nvd.nist.gov/vuln/detail/CVE-2026-22751
- https://spring.io/security/cve-2026-22751 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-22751
Change history (0)
No recorded changes yet.