# CVE-2026-59400: Spring Security ClientRegistration discloses OAuth2 Client Secret

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Aliases: CGA-7gv5-245v-r3p9, CGA-vjm6-4v27-gjw6
- Record: https://cvemate.com/vulnerability/CVE-2026-59400 · JSON: https://cvemate.com/vulnerability/CVE-2026-59400/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.494%, percentile 44.017%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kafbat-ui (Chainguard): All versions (No fix recorded)
- spring 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

## References

- <https://spring.io/security/cve-2026-59400>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N&version=3.1>

---

Data as of 2026-12-05T03:50:58.401Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
