{"schemaVersion":3,"id":"CVE-2026-59358","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\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.","dates":{"published":"2026-10-06T06:54:10.861Z","modified":"2026-10-06T14:34:25.951Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.6,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00346,"percentile":0.26641,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00346,"percentile":0.26641}],"last30":[{"date":"2026-10-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00346,"percentile":0.26641}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"cloud foundry","product":"cf-deployment","name":"cf-deployment","label":"cf-deployment","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 60.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 60.4.0","eol":null,"hubHref":"/vendor/cloud_foundry/cf-deployment"},{"vendor":"cloud foundry","product":"uaa","name":"UAA","label":"uaa","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7.0, ≤ 79.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.7.0, ≤ 79.6.0","eol":null,"hubHref":"/vendor/cloud_foundry/uaa"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.cloudfoundry.org/blog/cve-2026-59358-uaa-oauth-token-endpoint-vulnerability-allows-user-access-token-reuse-for-client_credentials-grant-type/","label":"www.cloudfoundry.org/blog/…","hostname":"www.cloudfoundry.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-06T06:54:10.861Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-06T14:34:25.951Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:01:43.826Z","stale":false,"partial":false}}