CVE Watchtower

CVE-2026-59400Spring Security Insertion of Sensitive Information into Log File

Spring

Vulnerability Summary

Spring Security ClientRegistration discloses OAuth2 Client Secret. 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. Affected artifact: org.springframework.security:spring-security-oauth2-client.
Severity Level
MEDIUM(6.5)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product writes sensitive information to a log file.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Spring Security 7.1.0 through 7.1.2
  • Spring Security 7.0.0 through 7.0.8
  • Spring Security 6.5.0 through 6.5.12
  • Spring Security 6.4.0 through 6.4.19
  • Spring Security 5.8.0 through 5.8.28
  • Spring Security through 5.7.26
Patched Versions
  • Spring Security 7.1.3 (open source)
  • Spring Security 7.0.9 (open source)
  • Spring Security 7.1.2.1 (commercial support only)
  • Spring Security 7.0.8.1 (commercial support only)
  • Spring Security 6.5.13 (commercial support only)
  • Spring Security 6.4.20 (commercial support only)
  • Spring Security 5.8.29 (commercial support only)
  • Spring Security 5.7.27 (commercial support only)

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Spring Security and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 19, 2026Published
  • Nov 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Spring Security CVEsYou are reading CVE-2026-59400. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 24, 2026 20:01 UTC