Inclusion of Sensitive Information in Log Files in Spring Security - CVE-2026-59400

 

Inclusion of Sensitive Information in Log Files in Spring Security - CVE-2026-59400

Published: November 20, 2026


Vulnerability identifier: #VU168631
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59400
CWE-ID: CWE-532
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to obtain a confidential OAuth2 client secret from exposed application output.

The vulnerability exists due to inclusion of the plaintext client secret in the output of ClientRegistration.toString() when an application or framework converts a client registration to a string. A remote user can read exposed output, such as a log entry or exception message, to obtain the client secret.


Affected software

Spring Security

How to mitigate CVE-2026-59400

Install security update from vendor's website.

Spring Security - addressed in versions 5.7.27, 5.8.29, 6.4.20, 6.5.13, 7.0.8.1, 7.0.9, 7.1.2.1, 7.1.3

External References

Related Security Bulletins