Security mailing lists by PureSourceCode

CVE-2026-22751

MEDIUM 4.8CVSS 3.1

Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured

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.

Published
21 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@vmware.com
NVD status
Analyzed
Weakness
CWE-367
Also known as
GHSA-x2wq-9x2f-fhj7
Sources
NVDJSONOSV GHSA-x2wq-9x2f-fhj7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.4.0, < 6.4.16 6.4.16
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.5.0, < 6.5.10 6.5.10
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.5 7.0.5
OSV Maven org.springframework.security:spring-security-core >= 6.5.0, < 6.5.10 6.5.10
OSV Maven org.springframework.security:spring-security-core >= 7.0.3, < 7.0.5 7.0.5
OSV Maven org.springframework.security:spring-security-core >= 6.4.0, <= 6.4.13

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.