# CVE-2026-59357: Self-UAA OIDC Configuration allows JWT injection to establish unauthorized sessions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-345
- **Published:** 2026-10-06T07:06:18.486Z
- **Modified:** 2026-10-06T16:00:36.547Z

## Who should check

- Anyone running Cloud Foundry UAA \>= 4.5.0, \<= 79.6.0
- Anyone running Cloud Foundry cf-deployment \<= 60.4.0

## Description

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.

## Affected and fixed versions

- Cloud Foundry UAA: \>= 4.5.0, \<= 79.6.0 (cvelist)
- Cloud Foundry cf-deployment: \<= 60.4.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-59357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-59357.md
Affected: Cloud Foundry UAA >= 4.5.0, <= 79.6.0; Cloud Foundry cf-deployment <= 60.4.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Cloud Foundry UAA, Cloud Foundry cf-deployment: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-59357 being exploited?

There is no confirmed exploitation: CVE-2026-59357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-59357?

Medium: CVSS 6.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-59357?

Cloud Foundry UAA \>= 4.5.0, \<= 79.6.0; Cloud Foundry cf-deployment \<= 60.4.0.

### Is there a fix for CVE-2026-59357?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-59357?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://www.cloudfoundry.org/blog/cve-2026-59357-self-uaa-oidc-configuration-allows-jwt-injection-to-establish-unauthorized-sessions/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-59357>

HTML: <https://flawdb.com/CVE-2026-59357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-59357>
