{"id":"CVE-2026-22751","published":"2026-04-21T18:30:35Z","modified":"2026-04-21T18:44:34Z","title":"Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions","vendor":"Spring","product":"Spring Security","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00129,"percentile":0.0266,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://spring.io/security/cve-2026-22751","tags":[]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.53},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Security","versions":[">= 6.4.0, <= 6.4.15",">= 6.5.0, <= 6.5.9",">= 7.0.0, <= 7.0.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T18:44:30.926766Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":[">=6.5.0, <6.5.10",">=7.0.3, <7.0.5",">=6.4.0, <=6.4.13"],"patched":["6.5.10","7.0.5"],"from":["GHSA-x2wq-9x2f-fhj7"],"provenance":"source"}],"summary":{"text":"Spring Security's JdbcOneTimeTokenService, used when an application explicitly configures One-Time Token login, contains a time-of-check time-of-use race condition that allows a single one-time token to authenticate multiple sessions. An attacker with network access and no privileges can exploit it, with the attack requiring a race condition to be won (high complexity) and no user interaction, and the application must have One-Time Token login explicitly configured to use this service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:18Z"},"euvd":{"id":"EUVD-2026-24227","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-41232","published":"2025-05-21","fixed":"6.4.6","kev":false},{"cve":"CVE-2025-41248","published":"2025-09-16","fixed":"6.5.4","kev":false,"link":{"from":"CVE-2025-41248","to":"CVE-2026-22751","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"6.5.4","toFixed":"6.5.10","daysApart":217}]}},{"cve":"CVE-2026-22746","published":"2026-04-22","fixed":"7.0.5","kev":false},{"cve":"CVE-2026-22751","published":"2026-04-21","fixed":"7.0.5","kev":false}],"package":"Maven:org.springframework.security:spring-security-core"}}