{"id":"CVE-2026-59357","revision":"4edd7b9898474a93bf53018d0d2453ec","records":[{"revision":"4edd7b9898474a93bf53018d0d2453ec","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59357","aliases":[],"title":"Self-UAA OIDC Configuration allows JWT injection to establish unauthorized sessions","description":"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.","state":0,"publishedAt":"2026-10-06T07:06:18.486+00:00","modifiedAt":"2026-10-06T11:49:21.187+00:00","affected":[{"ecosystem":"Vendor product","name":"UAA","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Cloud Foundry\",\n                    \"product\": \"UAA\",\n                    \"repo\": \"https://github.com/cloudfoundry/uaa\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"4.5.0\",\n                            \"lessThanOrEqual\": \"79.6.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"79.7.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"cf-deployment","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Cloud Foundry\",\n                    \"product\": \"cf-deployment\",\n                    \"repo\": \"https://github.com/cloudfoundry/cf-deployment\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"60.4.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"60.5.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"MEDIUM"}],"references":["https://www.cloudfoundry.org/blog/cve-2026-59357-self-uaa-oidc-configuration-allows-jwt-injection-to-establish-unauthorized-sessions/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59357","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59357","identifiers":["CVE-2026-59357"]},"retained":false,"historicalAffected":[]}],"coverage":[]}