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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 7.1.0 to <7.1.2.1 [affected]; 7.0.0 to <7.0.8.1 [affected]; 6.5.0 to <6.5.13 [affected]; 6.4.0 to <6.4.20 [affected]; 5.8.0 to <5.8.29 [affected]; 0 to <5.7.27 [affected]; 7.1.0 to <7.1.3 [affected]; 7.0.0 to <7.0.9 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 02 Dec 2026 08:02 UTC.