CVE Catalog

CVE-2026-59400

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.49%

44th percentile - higher than 44% of all known CVEs

Summary

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. Since toString() is invoked implicitly by common behaviors, the secret may be disclosed to unintended destinations.

Risk Assessment

The OAuth2/OpenID Connect client secret may leak into logs or exception messages, allowing an attacker to impersonate a trusted client.

Recommendation

Upgrade Spring Security to a patched version and review existing logs for leaked client secrets.

Other vulnerabilities in Spring Security

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS