Spring Security ClientRegistration discloses OAuth2 client secret
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring Security versions before 5.7.27, from 5.8.0 before 5.8.29, from 6.4.0 before 6.4.20, from 6.5.0 before 6.5.13, from 7.0.0 before 7.0.9, and from 7.1.0 before 7.1.3 are affected. The ClientRegistration class includes the confidential client secret in the plaintext output of its toString() method. Because logging, string concatenation and exception messages call toString() implicitly, the secret can reach destinations not meant to hold client credentials. A remote attacker with low privileges can read the secret from such output.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Security | 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.8.1; 6.5.0 to before 6.5.13; 6.4.0 to before 6.4.20; 5.8.0 to before 5.8.29; before 5.7.27; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.9 | 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9 | Patch available | CNA |
- Spring Security VendorVMware Affected 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.8.1; 6.5.0 to before 6.5.13; 6.4.0 to before 6.4.20; 5.8.0 to before 5.8.29; before 5.7.27; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.9 Fixed in 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9 Patch available CNA
Remediation
Upgrade Spring Security to 7.1.2.1, 7.1.3, 7.0.8.1, 7.0.9, 6.5.13, 6.4.20, 5.8.29 or 5.7.27, using the fixed version on the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring Security (Spring) Fixed in 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring Security 5.7.27, 5.8.29 and 6 more versions
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-101934 Spring Security RSocket Basic Authentication Decoder Enables Denial of ServicePriority MEDIUM 48
- TI-2026-101931 Remote code execution in Spring Security ELRequestMatcher via SpELPriority MEDIUM 44
- TI-2026-101932 Timing flaw in Spring Security reactive login exposes usernamesPriority LOW 33
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59400
- 2026-12-02 Alias added: GHSA-w68p-xmc5-53q6
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59400 · CVE Program
- CVE-2026-59400 · NVD
- GHSA-w68p-xmc5-53q6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences