{"schema":"threatline.record/2","record":{"id":"CVE-2026-59358","aliases":[],"summary":"UAA OAuth Token Endpoint Vulnerability allows user access token reuse for client_credentials grant type","details":"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.\n\n\n\nUAA’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.\n\n\n\nExploitation 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.","categories":["Unclassified"],"product":"UAA","vendor":"Cloud Foundry","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59358","source_modified_at":"2026-10-06T14:34:25.951Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"UAA","vendor":"Cloud Foundry","versions":[{"status":"affected","version":"3.7.0","lessThanOrEqual":"79.6.0","versionType":"semver"},{"status":"unaffected","version":"79.7.0","versionType":"semver"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59358","source_modified_at":"2026-10-06T14:34:25.951Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cf-deployment","vendor":"Cloud Foundry","versions":[{"status":"affected","version":"0","lessThanOrEqual":"60.4.0","versionType":"semver"},{"status":"unaffected","version":"60.5.0","versionType":"semver"}],"defaultStatus":null}],"fixed_versions":[],"cvss":7.6,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00346,"percentile":0.26919,"score_date":"2026-10-23"},"published_at":"2026-10-06T06:54:10.861Z","modified_at":"2026-10-06T14:34:25.951Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59358","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-06T14:34:25.951Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59358","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://www.cloudfoundry.org/blog/cve-2026-59358-uaa-oauth-token-endpoint-vulnerability-allows-user-access-token-reuse-for-client_credentials-grant-type/"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-06T14:32:48.583303Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-06T14:34:25.951Z","content_hash":"f802f1182bebeef303d0a0280064d3fdc03a8e52ae041fbc27afb9933c12d6c5"}}
