{"id":"CVE-2026-22751","summary":"Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions","details":"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.","aliases":["GHSA-x2wq-9x2f-fhj7"],"modified":"2026-05-28T04:11:19.648589312Z","published":"2026-04-21T18:30:35.428Z","related":["CGA-cfxf-ww8q-22px"],"database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"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":"DESCRIPTION","extracted_events":[{"introduced":"6.4.0"},{"fixed":"6.4.15"},{"introduced":"6.5.0"},{"fixed":"6.5.9"},{"introduced":"7.0.0"},{"fixed":"7.0.4"}]}],"cna_assigner":"vmware","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22751.json"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-22751"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22751.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22751"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-security","events":[{"introduced":"0fd0e9335ae3a6ff3538045d098dd6b94679d99e"},{"fixed":"0a9d4dc8fc9d303dad7fc1ee25cc7381a9888899"},{"introduced":"1d99a7fb14c62354cac00412cce2071892cdf465"},{"fixed":"53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"}],"database_specific":{"source":"CPE_RANGE","extracted_events":[{"introduced":"6.5.0"},{"fixed":"6.5.10"},{"introduced":"7.0.0"},{"fixed":"7.0.5"}],"cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*"}}],"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/osv-test-cve-osv-conversion/osv-output/CVE-2026-22751.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}