CVE-2026-59400
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spring | spring_security | {"startIncluding":"7.1.0","endExcluding":"7.1.2.1"} | 7.1.2.1 |
| spring | spring_security | {"startIncluding":"7.0.0","endExcluding":"7.0.8.1"} | 7.0.8.1 |
| spring | spring_security | {"startIncluding":"6.5.0","endExcluding":"6.5.13"} | 6.5.13 |
| spring | spring_security | {"startIncluding":"6.4.0","endExcluding":"6.4.20"} | 6.4.20 |
| spring | spring_security | {"startIncluding":"5.8.0","endExcluding":"5.8.29"} | 5.8.29 |
| spring | spring_security | {"endExcluding":"5.7.27"} | 5.7.27 |
| spring | spring_security | {"startIncluding":"7.1.0","endExcluding":"7.1.3"} | 7.1.3 |
| spring | spring_security | {"startIncluding":"7.0.0","endExcluding":"7.0.9"} | 7.0.9 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.