CVE-2026-59400: Spring Security ClientRegistration discloses OAuth2 Client Secret
Vulnerability summary
CVE-2026-59400 is a medium (CVSS 6.5) vulnerability in spring spring security. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 44% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
Description
ClientRegistration , Spring Security's representation of an OAuth2/OpenID Connect client registration, includes the confidential client secret in the plaintext output of its toString() method. Because toString() is invoked implicitly by common application and framework behaviors (parameterized logging, string concatenation, exception message construction, and similar), any code path that produces such output for a ClientRegistration instance may inadvertently disclose the client secret to a destination not intended to hold client credential material.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- kafbat-uiAll versions (No fix recorded)
Spring1 product
- spring security≥ 7.1.0, < 7.1.2.1 | ≥ 7.0.0, < 7.0.8.1 | ≥ 6.5.0, < 6.5.13 | ≥ 6.4.0, < 6.4.20 | ≥ 5.8.0, < 5.8.29 | < 5.7.27 | ≥ 7.1.0, < 7.1.3 | ≥ 7.0.0, < 7.0.9
2 vendors · 2 products