{"id":"CVE-2026-59357","aliases":["CVE-2026-59357"],"related":[],"kind":"vulnerability","state":"published","title":"Self-UAA OIDC Configuration allows JWT injection to establish unauthorized sessions","summary":"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.\n\n\n\nThe 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.\n\n\n\nExploitation 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\n\nThe 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.\n\n\n\nExploitation 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.","source":"cvelist"}],"published":"2026-10-06T07:06:18.486Z","modified":"2026-10-06T16:00:36.547Z","severity":{"scorer":"vmware","scheme":"CVSS:4.0","vector":"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","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:4.0","vector":"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","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"4.5.0","lastAffected":"79.6.0","status":"affected"},{"type":"semver","version":"79.7.0","status":"unaffected"}],"vendor":"Cloud Foundry","product":"UAA","repo":"https://github.com/cloudfoundry/uaa","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"60.4.0","status":"affected"},{"type":"semver","version":"60.5.0","status":"unaffected"}],"vendor":"Cloud Foundry","product":"cf-deployment","repo":"https://github.com/cloudfoundry/cf-deployment","source":"cvelist"}],"references":[{"url":"https://www.cloudfoundry.org/blog/cve-2026-59357-self-uaa-oidc-configuration-allows-jwt-injection-to-establish-unauthorized-sessions/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-06T11:47:58.110Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59357","url":"https://www.cve.org/CVERecord?id=CVE-2026-59357","licence":"CVE Terms of Use","modified":"2026-10-06T11:49:21.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59357","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59357","licence":"Public domain","modified":"2026-10-06T16:00:36.547Z"}],"updatedAt":"2026-11-25T22:59:42.243Z","epss":{"score":0.00185,"percentile":0.08462,"date":"2026-12-01T12:00:22.000Z"}}