Cloud Foundry UAA accepts user tokens as client credentials
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Cloud Foundry UAA from 3.7.0 through 79.6.0 and cf-deployment from 0 through 60.4.0 are affected. The OAuth token endpoint fails to verify that the Bearer credential used for client authentication is a real client credential (CWE-287), so it accepts a user access token in place of the client secret on a client_credentials request. A remote authenticated attacker holding a valid user token for a client that supports both a user-facing flow and client_credentials can obtain a client token with the client's full authorities and create new OAuth clients with attacker-chosen authorities.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Cloud Foundry | UAA | 3.7.0 – 79.6.0 | 79.7.0 | Patch available | CNA |
| Cloud Foundry | cf-deployment | up to 60.4.0 | 60.5.0 | Patch available | CNA |
- UAA VendorCloud Foundry Affected 3.7.0 – 79.6.0 Fixed in 79.7.0 Patch available CNA
- cf-deployment VendorCloud Foundry Affected up to 60.4.0 Fixed in 60.5.0 Patch available CNA
Remediation
Update Cloud Foundry UAA to fixed version 79.7.0. Update cf-deployment to fixed version 60.5.0.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA UAA (Cloud Foundry) Fixed in 79.7.0
- Fix · CNA cf-deployment (Cloud Foundry) Fixed in 60.5.0
Timeline
- 2026-10-06 Threatist record created from CVE-2026-59358
- 2026-10-06 Alias added: GHSA-hqp7-g6vh-8mf8
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Priority changed: MEDIUM → LOW
References
More Cloud Foundry vulnerabilities
- TI-2018-11240 UAA Privilege Escalation CVSS 3.0CRITICAL 9.9
- TI-2018-01169 Log Cache logs UAA client secret on startup CVSS 3.0CRITICAL 9.8
- TI-2018-07868 Cloud Foundry UAA MFA does not prevent brute force of MFA code CVSS 3.0CRITICAL 9.8
- TI-2026-18259 Cloud Foundry UAA SAML 2.0 Signature Bypass CVSS 3.1HIGH 8.6
- TI-2019-02813 Java Projects using HTTP to fetch dependencies CVSS 3.1CRITICAL 9.8
- TI-2024-24613 Authentication bypass by spoofing in Cloud Foundry haproxy-boshrelease CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-59358 · CVE Program
- CVE-2026-59358 · NVD
- FIRST EPSS
- GHSA-hqp7-g6vh-8mf8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences