Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain own user token via public PKCE flow
-
ExploitReplay user token as Bearer client auth on client_credentials grant
-
ExecutionUAA issues full-privilege client token
-
ImpactCreate attacker-chosen OAuth clients with escalated authorities
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target OAuth client must be configured to support BOTH a public, user-facing authorization flow (authorization_code + PKCE, client_auth_method=none) AND the client_credentials grant type on the same client_id - the vendor explicitly identifies this as a non-default combination. The attacker must hold a valid user access token for that client, obtainable through normal end-user login (their own token scoped to uaa.user). The user token alone cannot administer clients (POST /oauth/clients returns 403); escalation occurs only when it is replayed as Bearer client authentication. Limiting factors: authenticated user access is required (PR:L), the dual-grant client configuration is non-default, and practical impact scales with the authorities assigned to the affected client (a low-authority client yields limited impact). |
| Impact | The CVSS 4.0 score of 7.6 (High) is driven by high confidentiality and integrity impact (VC:H/VI:H) from an attacker being able to mint fully-privileged client tokens and create arbitrary OAuth clients. However, several signals temper real-world urgency. The vector requires PR:L (a valid authenticated user token) and, critically, AT:P - a 'present' attack requirement that corresponds directly to the vendor's statement that the vulnerable client must be configured for BOTH a public authorization_code+PKCE flow AND the client_credentials grant on the same client_id, which the vendor explicitly calls a non-default combination. No EPSS score, CISA KEV listing, or public exploit was provided in the input, so there is no evidence of active or at-scale exploitation; exploitation status is 'no public exploit identified at time of analysis.' This is a genuine authentication-logic flaw (CWE-287) with a clear privilege-escalation path, but its practical priority is gated by a non-default deployment condition rather than being a broadly exploitable internet-facing issue. Note the input provides only a CVSS 4.0 vector (no 3.1 vector) and no EPSS/KEV/POC data, so widespread-exploitation likelihood cannot be quantified from available signals; impact also scales entirely with the authorities assigned to the affected client, which is deployment-specific. |
| Exploit ScenarioDerived | A legitimate end user of an application obtains their own user access token through the normal public authorization_code + PKCE login flow for an OAuth client that also permits the client_credentials grant. They replay that user token as the OAuth 2.0 Bearer client credential on a client_credentials request for the same client_id, and UAA - failing to verify the credential is actually a client secret - returns a client-only token carrying the client's full authorities such as clients.write. The attacker then uses that token to register new OAuth clients with attacker-chosen authorities. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Improper authentication in the OAuth token endpoint of Cloud Foundry UAA (CWE-287) enables an authenticated remote attacker to exchange a low-privileged user access token for a fully-privileged client_credentials token, bypassing the need for the client secret. The attacker must possess a valid user token for an OAuth client that is configured to support both a public authorization_code+PKCE flow and the client_credentials grant on the same client_id, a non-default combination; the resulting client token carries the client's full authorities (e.g., clients.write), allowing creation of arbitrary OAuth clients. No public exploit code has been identified at time of analysis, and exploitation requires authenticated user access, with impact scaling to the authorities assigned to the affected client.
RemediationAI
No vendor-released patch was identified in the available data at time of analysis; consult the Cloud Foundry advisory at https://www.cloudfoundry.org/blog/cve-2026-59358-uaa-oauth-token-endpoint-vulnerability-allows-user-access-token-reuse-for-client_credentials-grant-type/ for patch availability and version-specific guidance. As an immediate compensating control, ensure that no OAuth client is configured to support both a public user-facing authorization_code+PKCE flow and the client_credentials grant type on the same client_id; separate these into distinct clients with different client_ids so that a user token for one client cannot be replayed against a client_credentials request for another. If dual configuration is unavoidable, restrict the authorities assigned to such clients to the minimum necessary (e.g., avoid granting clients.write) to limit the impact of a successful escalation. Additionally, monitor token issuance for client_credentials grants where the Bearer credential is a user access token rather than a client secret, and investigate any such events. Note that separating clients may require application changes, and restricting authorities may break intended functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Cloud Foundry UAA's OAuth 2.0 token endpoint, specifically in the handling of client authentication for the client_credentials grant type. Per OAuth 2.0, client_credentials requests must authenticate the client using its configured secret or another valid client authentication method; UAA instead accepts any valid access token whose client_id matches the request as a Bearer credential. This is an instance of CWE-287 (Improper Authentication) because the endpoint fails to verify that the supplied credential is actually a client credential (a secret) rather than a user access token. An attacker who obtains a user access token through a normal authorization_code + PKCE flow-scoped only to uaa.user, carrying a user_id, and recording client_auth_method=none-can replay that token as a Bearer credential on a client_credentials request for the same client_id. UAA then issues a new client-only token that possesses the client's full authorities, such as clients.write, even though the attacker never knew the client's secret. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) both reflect that exploitation requires a non-default dual-grant client configuration (AT:P) and authenticated user access (PR:L), with high confidentiality and integrity impact but no availability impact.
Know when Cloud Foundry 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable token endpoint (AV:N) but requires a valid user token (PR:L) and a non-default dual-grant client config (AC:H); full client-privilege escalation gives C:H/I:H, no availability impact.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
DescriptionCVE.org
Improper authentication (CWE-287) in the OAuth token endpoint in Cloud Foundry UAA allows a remote, authenticated attacker holding a valid user access token to obtain a fully-privileged client_credentials token for the OAuth client that issued it, by presenting the user token as an OAuth 2.0 Bearer credential on a client_credentials grant request in place of the client’s configured secret.
UAA’s client_credentials handling does not verify that the Bearer credential supplied for client authentication is actually a client credential (a client secret or a valid configured client authentication method); it accepts any valid access token whose client_id matches the request. A token obtained by a normal end user through a public authorization_code + PKCE flow - scoped only to uaa.user, carrying a user_id, and recording client_auth_method=none - satisfies this check. That user token cannot itself administer OAuth clients (POST /oauth/clients correctly returns 403), but when replayed as Bearer authentication on a client_credentials request for the same client, UAA issues a new client-only token carrying the client’s full authorities, such as clients.write. An attacker can use that token to create arbitrary new OAuth clients, including clients with attacker-chosen authorities, without ever possessing the client’s actual secret.
Exploitation requires a valid user access token (the attacker’s own) for a client that is configured to support both a public, user-facing authorization flow and the client_credentials grant type on the same client_id - a non-default combination. Practical impact scales with the authorities assigned to that client.
Executive ViewAI
A privilege-escalation flaw in the Cloud Foundry UAA OAuth token endpoint (CVE-2026-59358) could allow someone who already holds a low-privilege user token to mint a fully privileged client token, potentially gaining the ability to create or modify OAuth clients across the platform's identity layer. Only environments that configure a single OAuth client for both the public authorization_code+PKCE flow and the client_credentials grant are exposed, so exposure is narrow but concentrated in the identity infrastructure that governs access to many downstream applications. Because UAA acts as a trust anchor for authentication across Cloud Foundry deployments, a compromise there can undermine access controls platform-wide, which is why leadership should treat this as an identity-governance issue rather than a single-application bug.
No vendor-released patch identified at time of analysis. Interim mitigations: separate the conflicting grants by using distinct client_ids for public authorization_code+PKCE clients and client_credentials clients (never both on one client_id); remove the client_credentials grant from any client that does not strictly require it; reduce each affected client's authorities to least privilege, especially clients.write; rotate client secrets; enforce monitoring and alerting on the UAA token endpoint for anomalous client_credentials issuance; and restrict network access to UAA management and token endpoints to trusted sources.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Cloud Foundry
View allThe Cloud Controller in Cloud Foundry before 239 logs user-provided service objects at creation, which allows attackers
Multiple cross-site request forgery (CSRF) vulnerabilities in Pivotal Cloud Foundry (PCF) before 242; UAA 2.x before 2.7
SQL injection vulnerability in Pivotal Cloud Foundry (PCF) before 238; UAA 2.x before 2.7.4.4, 3.x before 3.3.0.2, and 3
Authentication bypass in Cloud Foundry UAA (User Account and Authentication) versions 2.0.0 through 78.13.0 allows remot
The UAA /oauth/token endpoint in Pivotal Cloud Foundry (PCF) before 243; UAA 2.x before 2.7.4.8, 3.x before 3.3.0.6, and
An issue was discovered in Cloud Foundry Foundation BOSH Release 261.x versions prior to 261.3 and all 260.x versions. R
A exposure of sensitive information vulnerability exists in Jenkins Cloud Foundry Plugin 2.3.1 and earlier in AbstractCl
Cloud Foundry CF Networking Release, versions 2.11.0 prior to 2.16.0, contain an internal api endpoint vulnerable to SQL
Authentication bypass in Cloud Foundry UAA allows remote unauthenticated attackers to obtain access tokens for arbitrary
Cloud Foundry before 248; UAA 2.x before 2.7.4.12, 3.x before 3.6.5, and 3.7.x through 3.9.x before 3.9.3; and UAA bosh
The UAA reset password flow in Cloud Foundry release v236 and earlier versions, UAA release v3.3.0 and earlier versions,
Cloud Foundry BOSH, versions v264 prior to v264.14.0 and v265 prior to v265.7.0 and v266 prior to v266.8.0 and v267 prio
EUVD-2026-92988
GHSA-hqp7-g6vh-8mf8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB