Medium
Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-22751
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:53 UTC · Revision 1
Source evidence
Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
core-osv · Original sourcePublished 21 Apr 2026, 18:30 UTC
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.
osv:CVE-2026-22751
Complete source record
{
"id": "db90b3f7a550feb57dd5a1c3fd0fbcbadc21877102a84aa20709655cad1801f0",
"url": "https://osv.dev/vulnerability/CVE-2026-22751",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions",
"summary": "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.",
"evidence": "osv:CVE-2026-22751",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-22751",
"aliases": [
"CVE-2026-22751",
"GHSA-x2wq-9x2f-fhj7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-security",
"type": "GIT",
"events": [
{
"introduced": "0fd0e9335ae3a6ff3538045d098dd6b94679d99e"
},
{
"fixed": "0a9d4dc8fc9d303dad7fc1ee25cc7381a9888899"
},
{
"introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
},
{
"fixed": "53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.0.4",
"6.5.9",
"6.5.8",
"7.0.3",
"7.0.2",
"7.0.1",
"6.5.7",
"7.0.0",
"6.5.6",
"6.5.5",
"6.5.4",
"6.5.3",
"6.5.1",
"6.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22751.json"
}
}
],
"modified": "2026-10-28T02:30:22.466725389Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-22751",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22751.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22751"
],
"provider_metadata": {
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "6.4.0"
},
{
"last_affected": "6.4.15"
},
{
"introduced": "6.5.0"
},
{
"last_affected": "6.5.9"
},
{
"introduced": "7.0.0"
},
{
"last_affected": "7.0.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22751.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22751",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488824,
"published_at": "2026-04-21T18:30:35.428+00:00"
}