Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to UAA, obtain valid JWT
-
DeliveryTarget zone with self-UAA OIDC provider
-
ExploitSubmit token as callback id_token parameter
-
ExecutionBypass auth-code exchange, map to shadow account
-
ImpactOperate with shadow account's scopes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Three concrete prerequisites must all hold: (1) the target UAA zone must be configured with an external OIDC identity provider whose issuer exactly matches that same zone's own /oauth/token endpoint - the non-default 'self-UAA' OIDC configuration that triggers the callback to accept a supplied id_token without the authorization-code exchange; (2) the attacker must possess any valid UAA JWT for themselves, including a plain access token with only uaa.user scope or an ID token issued to an unrelated client such as cf; and (3) the attacker needs a valid browser login state for the target zone. Limiting factors: this is not pre-authentication (a valid UAA user is required), it requires active user/browser interaction (UI:A), and it does not by itself grant privileges beyond those of the mapped shadow account - effective impact depends entirely on that account's group memberships. Environments without a self-referential OIDC provider configuration are not exploitable. |
| Impact | This is a genuine but conditional, mid-severity privilege/authentication flaw rather than a mass-exploitation emergency. The strongest signal is the narrow precondition: the bug only manifests when a UAA zone is configured with a 'self-UAA' OIDC identity provider whose issuer exactly matches that zone's own /oauth/token endpoint - a non-default, relatively uncommon configuration. There is a notable CONFLICT in the authentication signal: the supplied CVSS 4.0 vector asserts PR:N (no privileges required), yet the description explicitly states 'allows an authenticated UAA user', 'Exploitation requires a valid UAA user JWT', and 'this is not a pre-authentication vulnerability.' The PR:N is therefore inconsistent with the described exploitation model; the attacker must already hold a valid UAA JWT (even a low-scope uaa.user token), so this should be treated as an authenticated, not pre-auth, issue - verify with the vendor/NVD. The vector's AT:P (attack requirements present) and UI:A partially capture the required self-OIDC configuration and the need for a valid browser login state, which better reflect real-world difficulty. Impact is high (VC:H/VI:H) but bounded: the session inherits only the mapped shadow account's group memberships, so escalation to administrative scopes such as clients.write is possible only where the shadow account already carries them. No EPSS score and no KEV listing were provided, so there is no evidence of active or widespread exploitation; the vector's E:P (exploit maturity: proof-of-concept) is the only exploit-maturity signal and does not equate to in-the-wild use. Net: patch in affected environments, but prioritize behind true unauthenticated-RCE issues, and prioritize especially where self-UAA OIDC providers are in use. |
| Exploit ScenarioDerived | An attacker who already has a low-privilege UAA account (e.g. only uaa.user scope) in a zone configured with a self-referential OIDC provider obtains any valid UAA JWT for themselves - a plain access token or an ID token issued to an unrelated client such as cf. They submit that token directly as the external OIDC login callback's id_token parameter, skipping the OAuth authorization-code exchange, and are authenticated into a mapped local shadow account whose group memberships may carry higher privileges. The CVSS exploit maturity marker (E:P) indicates proof-of-concept-level maturity, but no public exploit code was provided in the references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Cloud Foundry UAA versions 4.5.0 through 79.6.0 can be induced to skip the OAuth authorization-code exchange at its external OIDC login callback and instead accept a caller-supplied id_token, when a UAA zone is configured with an OIDC identity provider whose issuer exactly matches that same zone's own /oauth/token endpoint (a non-default 'self-UAA' configuration). An attacker who already holds any valid UAA JWT for themselves - including a low-scope access token (uaa.user only) or an ID token minted for an unrelated client such as cf - plus a valid browser login state for the target zone, can present that token as the callback's id_token and be authenticated into a mapped local 'shadow' account without the token's true audience or user_id being verified. This is not a pre-authentication bug and does not by itself grant privileges beyond those of the mapped shadow account, so real impact depends entirely on that account's group memberships (which may include administrative scopes such as clients.write); no public exploit code was identified at time of analysis, the issue is not listed in CISA KEV, and no EPSS score was provided in the available intelligence.
RemediationAI
The provided intelligence does not identify a vendor-released patch or a specific fixed version for CVE-2026-59357, so treat the following as compensating controls and confirm the current fixed release with the Cloud Foundry UAA project and the advisory at https://www.cloudfoundry.org/blog/cve-2026-59357-self-uaa-oidc-configuration-allows-jwt-injection-to-establish-unauthorized-sessions/ before planning an upgrade. Primary mitigation: eliminate the triggering configuration by ensuring that no UAA zone has an OIDC identity provider whose issuer exactly matches that zone's own /oauth/token endpoint - change the issuer value or remove the self-referential provider entirely; the trade-off is that any login flow legitimately relying on that self-UAA mapping will stop working until reconfigured. Because the exploit's blast radius is bounded by the mapped shadow account, immediately review and prune local shadow accounts created for self-OIDC logins, removing elevated group memberships such as clients.write, scim.write and other admin scopes unless operationally required; this reduces impact but may revoke legitimate administrative access for those identities. Additional controls: enforce that the OIDC callback only proceeds via authorization-code exchange for affected zones, restrict who can create or modify identity-provider configurations in UAA (those scopes are themselves the target of the privilege escalation), monitor UAA audit events for id_token parameters presented to the external OIDC callback where no corresponding authorization-code exchange occurred, and shorten token/session lifetimes so a mis-issued session cannot persist; each of these is a detective or narrowing measure rather than a fix, and none restores the missing token audience/user_id validation in code. Do not treat this as a pre-authentication emergency: exploitation requires a valid UAA user JWT, a valid browser login state for the target zone, and the non-default self-UAA provider configuration to all be present simultaneously.
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 flaw is a CWE-345 insufficient verification of data authenticity defect in the OIDC/OAuth 2.0 login path of Cloud Foundry UAA (the identity and access management component used by Cloud Foundry and standalone deployments). In a normal OIDC integration, the relying party redirects the browser to the identity provider's authorization endpoint and redeems the returned authorization code at the token endpoint, receiving an id_token whose issuer, audience and user claims it validates before mapping the subject to a local account. Here, when a UAA zone is configured with an external OIDC provider whose issuer string exactly matches that zone's own /oauth/token endpoint (the self-referential 'self-UAA' setup), the callback logic takes the submitted id_token parameter directly and never performs the code exchange. Compounding the missing authenticity check, UAA does not verify that the presented JWT was actually issued as an ID token for the specific self-OIDC relying-party client, so any structurally valid UAA-issued JWT - a plain access token carrying only uaa.user scope, or an ID token issued to an unrelated client such as cf - satisfies the callback. The resulting session is created without validating the originating token's audience or user_id against the target client, meaning the authenticated identity is effectively whatever local 'shadow' account is mapped, and the session's authority is inherited from that account's group memberships. Note the CNA's CVSS 4.0 vector records PR:N while the authoritative independent assessment records PR:L and the description states an authenticated UAA user is required; the assessed (CVSS 3.1) view - AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - is the one reflected here.
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:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Requires an authenticated UAA JWT (PR:L) and a non-default self-UAA OIDC configuration plus a valid browser session (AC:H, UI:R); high confidentiality/integrity impact via privileged shadow accounts, no availability impact.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
DescriptionCVE.org
Insufficient verification of data authenticity (CWE-345) in the external OIDC login callback in Cloud Foundry UAA v4.5.0 to v79.6.0 (inclusive) allows an authenticated UAA user to bypass the OAuth authorization-code exchange and establish an authenticated external-OIDC browser session, via submitting a UAA access token or a cross-client ID token as the callback’s id_token parameter.
The issue only manifests when a UAA zone is configured with an OIDC identity provider whose issuer exactly matches that zone’s own /oauth/token endpoint (a “self-UAA” OIDC configuration). In this configuration, the callback takes a supplied id_token directly instead of requiring the authorization code exchange, and does not verify that the token was actually issued as an ID token for the specific self-OIDC relying-party client. An attacker holding any valid UAA JWT for themselves - including a plain access token with only uaa.user scope, or a valid ID token issued to an unrelated client such as cf - can present it as the callback’s id_token and be authenticated into a mapped local (“shadow”) account. Because the resulting session is not verified against the originating token’s true audience or user_id, its effective privilege depends entirely on the shadow account’s group memberships, which can include administrative scopes such as clients.write.
Exploitation requires a valid UAA user JWT, a valid browser login state for the target zone, and the presence of a self-referential OIDC provider configuration - this is not a pre-authentication vulnerability, and does not by itself grant privileges beyond those already held by the mapped shadow account.
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-92989
GHSA-9cjx-f7j2-23c5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB