CVE-2026-59400: Spring Security ClientRegistration discloses OAuth2 Client Secret
Affects Spring SecuritySource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium · fixed in 7.1.3 : update Spring Security when convenient.
Data as of 2 Dec 2026, 08:00 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 7.1.3, 7.1.2.1, 7.0.9 +5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Security | Affected
| Fixed in
|
| SpringSpring Security | Affected
| Fixed in
|
| SpringSpring Security | Affected
| Fixed in
|
| SpringSpring Security | Affected
| Fixed in
|
| SpringSpring Security | Affected
| Fixed in
|
| SpringSpring Security | Affected
| Fixed in
|
AI-suggested
A fix is available in Spring Security versions 7.1.3, 7.1.2.1, 7.0.9, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, and 5.7.27. Users should upgrade to one of these fixed versions to remediate the vulnerability. Until upgraded, avoid logging or outputting ClientRegistration instances directly to prevent accidental disclosure of client secrets.
Description
CVE-2026-59400 is a vulnerability in Spring Security's ClientRegistration class where the OAuth2 client secret is included in the plaintext output of its toString() method. This can lead to inadvertent disclosure of the client secret through common application behaviors that invoke toString(), such as logging or exception messages. The issue affects multiple versions of Spring Security prior to fixed releases. A fix is available in versions 7.1.3, 7.1.2.1, 7.0.9, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, and 5.7.27.