CVE-2026-59400

Spring Security ClientRegistration discloses OAuth2 Client Secret

Published Dec 2, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Spring Security ClientRegistration discloses OAuth2 Client Secret
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Subscriptions

No data.

Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 2, 2026, 7:11 AM
Reserved
Jul 4, 2026, 6:15 PM
Status
Received
Published
Dec 2, 2026, 8:17 AM
Modified
Dec 2, 2026, 8:17 AM