Skip to main content

Spring Security OAuth2 EUVDEUVD-2026-66977

| CVE-2026-59354 HIGH
Improper Input Validation (CWE-20)
2026-08-27 vmware GHSA-j9pv-5342-rrx5
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Initial Access Token
  2. Delivery
    Submit client registration with crafted metadata fields
  3. Exploit
    Authorization server persists unsanitized metadata
  4. Execution
    Admin renders metadata in UI or server fetches client-supplied URI
  5. Persist
    XSS hijacks admin session or SSRF reaches internal service
  6. Impact
    Lateral movement or data exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Dynamic Client Registration must be explicitly enabled in the Spring Security OAuth2 Authorization Server configuration - this feature requires intentional opt-in and is not active in default deployments. The attacker must additionally possess a valid Initial Access Token (the RFC 7591-defined credential authorizing client registration); without one, the registration endpoint will reject the request. The CVSS PR:L metric confirms that token possession - representing low-privilege authenticated access - is required. The specific impact realized then depends on downstream server behavior: Stored XSS requires that the crafted metadata be rendered in an HTML context such as an admin UI; SSRF requires that the server fetches client-supplied URI fields (logo_uri, jwks_uri, or policy_uri) during registration or token issuance; Privilege Escalation requires that the server fails to enforce allowed scopes or grant types at registration time. Deployments where Dynamic Client Registration is disabled are not exploitable regardless of version.

Impact

The CVSS 8.8 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a network-reachable flaw requiring only low privileges - a valid Initial Access Token - but real-world risk is gated behind two explicit prerequisites: Dynamic Client Registration must be actively enabled in configuration (it is not a default behavior), and the attacker must have already obtained a valid Initial Access Token. The EPSS score of 0.25% (16th percentile) and SSVC 'Exploitation: none' designation confirm no observed active exploitation, substantially reducing urgency for unexposed deployments. A significant data quality issue exists: the provided CVSS vector encodes S:U/A:H, whereas the linked NVD calculator URL in the references encodes S:C/C:H/I:H/A:N - the scope-changed variant is more technically consistent with Stored XSS and SSRF, which inherently affect systems or users beyond the vulnerable server itself, and should be verified against the authoritative Spring advisory. Despite the low EPSS, the SSVC 'Technical Impact: total' and the breadth of exploit classes (XSS, SSRF, privilege escalation) means that organizations with Dynamic Client Registration enabled should treat this as a priority patch cycle regardless of environment size. Deployments with the feature disabled face negligible residual risk.

Exploit ScenarioDerived

An attacker who has obtained a valid Initial Access Token - through credential theft, a compromised CI/CD pipeline, or insider access - submits an OAuth2 client registration request with a malicious client_name containing a JavaScript payload or a logo_uri pointing to an internal metadata service. The authorization server persists the crafted metadata without adequate validation. When an administrator later views registered clients in a management interface, the stored XSS payload executes in their browser enabling session hijacking and account takeover; alternatively, if the server fetches the logo_uri during processing, an SSRF request is issued against cloud instance metadata endpoints or internal APIs. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Sep 01, 2026

Insufficient input validation in Spring Security's OAuth2 Authorization Server module (versions 7.0.0-7.0.4) allows an attacker holding a valid Initial Access Token to register a malicious OAuth2 client with crafted metadata fields via the Dynamic Client Registration endpoint. Depending on server configuration and how the metadata is subsequently rendered or fetched, the impact spans Stored XSS (targeting administrator sessions), Privilege Escalation (through insufficiently constrained scopes or grant types), or SSRF against internal infrastructure. No public exploit code or CISA KEV listing exists at time of analysis, but the SSVC framework rates the technical impact as total, warranting priority remediation for any deployment with Dynamic Client Registration explicitly enabled.

Earlier versions of this analysis (2)
v2 Aug 27, 2026 - 13:28 cvss changed CVSS 9.6

Client-metadata injection in Spring Security's OAuth2 Authorization Server module (7.0.0 through 7.0.4) lets an attacker holding a valid Initial Access Token register a malicious OAuth2 client whose insufficiently validated metadata can yield Stored XSS, Privilege Escalation, or SSRF. Exploitation requires that the optional Dynamic Client Registration (DCR) endpoint be explicitly enabled, and the concrete impact depends on how the server later renders or consumes the stored metadata. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the vendor-rated CVSS of 9.6 reflects a scope-changing, high-confidentiality/high-integrity outcome.

v1 Aug 27, 2026 - 10:12 CVSS 6.1

Stored XSS, privilege escalation, and SSRF are exploitable in Spring Security's OAuth2 Authorization Server module versions 7.0.0 through 7.0.4 by attackers holding a valid Initial Access Token who abuse insufficient input validation in the Dynamic Client Registration endpoint. By registering a malicious OAuth2 client with crafted metadata fields, an attacker can - depending on how that metadata is rendered or consumed - execute stored scripts in administrative browser sessions, influence authorization decisions to escalate privileges, or force the server to issue unauthorized internal network requests. No public exploit has been identified at time of analysis; exploitation is gated on Dynamic Client Registration being explicitly enabled, a non-default operator configuration.

RemediationAI

Upgrade to a patched release of the Spring Security OAuth2 Authorization Server module above version 7.0.4; the exact fixed version must be confirmed from the vendor advisory at https://spring.io/security/cve-2026-59354, as the provided data does not specify it. For organizations unable to patch immediately, the most effective compensating control is to disable Dynamic Client Registration entirely - this eliminates the attack surface completely, at the cost of preventing programmatic client self-registration workflows. If Dynamic Client Registration must remain active, restrict the issuance of Initial Access Tokens to the minimum necessary set of trusted, authenticated operators and implement strict server-side egress filtering to block outbound requests from the authorization server to internal network ranges (mitigating SSRF). Additionally, apply output encoding or sanitization to all client metadata rendered in any administrative interface to reduce Stored XSS exposure. Audit all existing registered clients for anomalous metadata field values such as suspicious redirect_uris, logo_uri, or jwks_uri entries that may indicate prior exploitation.

Affected VersionsENISA

Spring Security (OAuth2 Authorization Server module) 7.0.0 ≤7.0.4

Affected Packages

euvd spring_security_oauth2_authorization_server_module no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Security's OAuth2 Authorization Server module implements RFC 7591 (OAuth 2.0 Dynamic Client Registration Protocol), allowing clients to programmatically register with an authorization server using an Initial Access Token. The affected component (CPE: cpe:2.3:a:vmware_by_broadcom:spring_security_(oauth2_authorization_server_module):*:*:*:*:*:*:*:*) fails to adequately validate client metadata fields submitted during registration - a CWE-20 (Improper Input Validation) deficiency. Specific fields such as client_name, redirect_uris, logo_uri, jwks_uri, or policy_uri are typical targets: when stored and later rendered in an admin UI, unsanitized values produce Stored XSS; when the server fetches client-supplied URI fields, they produce SSRF into internal services; when scope or grant_type constraints are insufficiently enforced, they enable Privilege Escalation. The vulnerability is reported by VMware/Broadcom, which maintains the Spring ecosystem, and is tracked as EUVD-2026-66977.

Know when Spring Security Oauth2 Authorization Server Module gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY MEDIUM
NVD 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

Stored XSS and SSRF affect systems beyond the vulnerable server (S:C); Initial Access Token required (PR:L); no availability impact is produced by XSS, SSRF, or privilege escalation in this context.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (vmware).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Sep 01, 2026 - 16:14 vuln.today
v3 - CVSS changed
Severity Changed
Sep 01, 2026 - 16:07 NVD
CRITICAL HIGH
CVSS changed
Sep 01, 2026 - 16:07 NVD
9.6 (CRITICAL) 8.8 (HIGH)
Analysis Updated
Aug 27, 2026 - 13:28 vuln.today
v2 - CVSS changed
Severity Changed
Aug 27, 2026 - 13:22 NVD
MEDIUM CRITICAL
CVSS changed
Aug 27, 2026 - 13:22 NVD
6.1 (MEDIUM) 9.6 (CRITICAL)
CVE Published
Aug 27, 2026 - 06:33 cve.org
MEDIUM 6.1

DescriptionNVD

In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).

Executive ViewAI

Why It Matters

Spring Security OAuth2 Authorization Server (versions 7.0.0-7.0.4) enables authenticated attackers to inject malicious client metadata through the Dynamic Client Registration endpoint, risking unauthorized access to administrator accounts, privilege escalation, or lateral movement to internal systems. This identity-infrastructure vulnerability requires immediate assessment and remediation for affected deployments.

Business Impact: High
Compensating Controls

Disable Dynamic Client Registration if operationally non-critical; enforce strict input validation on OAuth2 client metadata via WAF or application-layer filters; restrict Initial Access Token issuance to trusted services with minimal scope and short expiration windows; implement real-time detection and alerting for suspicious client registration attempts; conduct immediate audit of existing registered clients for anomalous metadata patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
enterprise Java OAuth2 authorization server module, not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy