# CVE-2026-59358: UAA OAuth Token Endpoint Vulnerability allows user access token reuse for client\_credentials grant type

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

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; 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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-287
- **Published:** 2026-10-06T06:54:10.861Z
- **Modified:** 2026-10-06T16:00:36.547Z

## Who should check

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

## Description

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.

## Affected and fixed versions

- Cloud Foundry UAA: \>= 3.7.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-59358. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-59358.md
Affected: Cloud Foundry UAA >= 3.7.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-59358 being exploited?

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

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

High: CVSS 7.6 (v4.0, scored by CNA). Remote, login needed.

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

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

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

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-59358?

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-59358-uaa-oauth-token-endpoint-vulnerability-allows-user-access-token-reuse-for-client_credentials-grant-type/>

## 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-59358>

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