Read the docs

Spring Security ClientRegistration discloses OAuth2 client secret

Priority MEDIUM 44Published · Updated

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

Fix Fixed Spring Security (Spring): 7.1.2.1, 7.0.8.1, 6.5.13 +5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring Security7.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.97.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9Patch availableCNA
  • 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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*——VMware
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* Versions — — ·VMware

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

  1. 2026-12-02 Threatist record created from CVE-2026-59400
  2. 2026-12-02 Alias added: GHSA-w68p-xmc5-53q6

References

  • 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
See all 1214 →

Sources