CVE-2026-59400
Received Received - Intake

Client Secret Exposure in Spring Security ClientRegistration

Vulnerability report for CVE-2026-59400, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
spring security From 7.1.0 (inc) to 7.1.2 (inc)
spring security From 7.0.0 (inc) to 7.0.8 (inc)
spring security From 6.5.0 (inc) to 6.5.12 (inc)
spring security From 6.4.0 (inc) to 6.4.19 (inc)
spring security From 5.8.0 (inc) to 5.8.28 (inc)
spring security to 5.7.26 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves Spring Security's ClientRegistration class exposing the confidential client secret in plaintext through its toString() method. Since toString() is called implicitly in common operations like logging or exception messages, the secret may be disclosed to unintended locations.

Detection Guidance

To detect this vulnerability, inspect application logs for plaintext exposure of ClientRegistration secrets. Check for toString() outputs in logs, exception messages, or string concatenations involving ClientRegistration objects. No specific commands are provided, but review logs for OAuth2 client secret disclosures.

Impact Analysis

The exposure of the client secret could allow unauthorized parties to gain access to protected resources or impersonate the client application. Attackers might exploit this to perform actions on behalf of the application or intercept sensitive data.

Compliance Impact

This vulnerability could lead to unauthorized disclosure of OAuth2/OpenID Connect client secrets through logging or error messages. This may violate data protection requirements under GDPR (e.g., Article 32 on security of processing) and HIPAA (e.g., safeguards for protected health information) by exposing credentials that could be used to access sensitive systems or data.

Mitigation Strategies

Upgrade to fixed versions of Spring Security: 7.1.3 (OSS), 7.1.2.1 (Enterprise), 7.0.9 (OSS), 7.0.8.1 (Enterprise), 6.5.13 (Enterprise), 6.4.20 (Enterprise), 5.8.29 (Enterprise), or 5.7.27 (Enterprise). No additional mitigation steps are required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59400. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...