VDB
GHSA-x2wq-9x2f-fhj7
GHSA-x2wq-9x2f-fhj7
PUBLISHED
CVSS 4.800000190734863 MEDIUM
Record from GitHub Advisory Database · Published April 21, 2026
spring-security-core is fixed in 7.0.5, 6.5.10 and 6.4.13 (Maven Central)
Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core | Maven Central | 7.0.5, 6.5.10, 6.4.13 |
| kafbat-ui | Chainguard | 1.4.2-r9 |
| camunda-8.9 | Chainguard | 8.9.2-r0 |
| thingsboard | Chainguard | 4.3.1.1-r11 |
| camunda-zeebe-8.6 | Chainguard | 8.6.40-r0 |
Risk scores
CVSS 3.1
4.800000190734863
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | kafbat-ui | 0 |
| chainguard | camunda-8.9 | 0 |
| chainguard | thingsboard | 0 |
| chainguard | camunda-zeebe-8.6 | 0 |
| Maven | org.springframework.security:spring-security-core | = 6.4.0,, = 6.5.0,, 6.4.0 |
| wolfi | apache-nifi-registry | 0 |
| chainguard | apache-nifi-registry | 0 |
| wolfi | apache-nifi | 0 |
| chainguard | apache-nifi | 0 |
| chainguard | jenkins-2.541 | 0 |
| wolfi | thingsboard | 0 |
| wolfi | jenkins-2 | 0 |
| chainguard | camunda-8.8 | 0 |
| chainguard | camunda-zeebe-8.7 | 0 |
| chainguard | jenkins-2 | 0 |
| chainguard | nacos-docker | 0 |
| chainguard | camunda-zeebe-8.9 | 0 |
| chainguard | camunda-zeebe-8.8 | 0 |
| chainguard | kafbat-ui-fips | 0 |
| chainguard | nacos | 0 |
Timeline
- Apr 21, 2026 CVE Published
- Apr 26, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-x2wq-9x2f-fhj7
vulnetix vdb fixes GHSA-x2wq-9x2f-fhj7
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-x2wq-9x2f-fhj7/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://spring.io/security/cve-2026-22751 url
- Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-22751 advisory
- https://github.com/spring-projects/spring-security package
- https://github.com/spring-projects/spring-security/commit/4187af38b251fc97fdf9949f7869618111e6e261 fix
- https://github.com/spring-projects/spring-security/commit/163772775036c4146815a5266874278c6f45f047 url
- https://jinyeong.seol.pro/blogs/cve-2026-22751/en url