P3 · MediumCVSS 6.5EPSS 0.5%
Spring Security ClientRegistration discloses OAuth2 Client Secret
- CVE-2026-59400
- GHSA-w68p-xmc5-53q6
- EUVD-2026-140889
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.
Text from the CVE.org record.
Affected
Spring Spring Security
- from 7.1.0 to before 7.1.2.1
- from 7.0.0 to before 7.0.8.1
- from 6.5.0 to before 6.5.13
- from 6.4.0 to before 6.4.20
- from 5.8.0 to before 5.8.29
- before 5.7.27
- from 7.1.0 to before 7.1.3
- from 7.0.0 to before 7.0.9
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.