{"id":"EEF-CVE-2026-55954","summary":"Missing ID token claim validation in ueberauth_apple allows account takeover","details":"## Summary\n\nAuthentication Bypass by Spoofing vulnerability in ueberauth ueberauth_apple allows account takeover via unvalidated ID token claims.\n\nThe `Ueberauth.Strategy.Apple.Token.payload/2` function verifies the JWT signature of the callback `id_token` against Apple's JWKS but does not validate any registered claims. The `iss`, `aud`, `exp`, and `iat` claims are read from the token and passed on to `Ueberauth.Strategy.Apple.handle_callback!/1`, which derives the logged-in user's `uid` and `email` directly from the unvalidated `sub` claim.\n\nAn attacker who obtains any Apple-signed ID token bearing the victim's `sub` (via a captured expired token, or via an ID token issued to a sibling client in the same Apple developer team) can replay it against the vulnerable callback and be authenticated as the victim. The absent `exp` check makes stolen tokens usable indefinitely, and the absent `aud` check enables cross-application account takeover across clients that share an Apple developer team.\n\nThis issue affects ueberauth_apple: from 0.6.0-rc.0 before 0.6.2.","aliases":["CVE-2026-55954","GHSA-pxx8-68pc-p9mr"],"modified":"2026-11-24T05:00:02.722200308Z","published":"2026-07-14T15:08:26.051Z","database_specific":{"cpe_ids":["cpe:2.3:a:ueberauth:ueberauth_apple:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-290"],"capec_ids":["CAPEC-60"]},"references":[{"type":"ADVISORY","url":"https://github.com/ueberauth/ueberauth_apple/security/advisories/GHSA-pxx8-68pc-p9mr"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-55954.html"},{"type":"WEB","url":"https://github.com/ueberauth/ueberauth_apple/commit/1862b1ac508ac82bb59167b25195d89549c64b1a"},{"type":"FIX","url":"https://github.com/ueberauth/ueberauth_apple/commit/01e2d9c9b3134e1b78633ad82d136d5ff4a61f28"},{"type":"PACKAGE","url":"https://hex.pm/packages/ueberauth_apple"}],"affected":[{"package":{"name":"ueberauth_apple","ecosystem":"Hex","purl":"pkg:hex/ueberauth_apple"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.0-rc.0"},{"fixed":"0.6.2"}]}],"versions":["0.6.0","0.6.1"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-55954.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ueberauth/ueberauth_apple","events":[{"introduced":"1862b1ac508ac82bb59167b25195d89549c64b1a"},{"fixed":"01e2d9c9b3134e1b78633ad82d136d5ff4a61f28"}]}],"versions":["0.6.1","0.6.0-rc.0","0.6.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-55954.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"CNA"}],"credits":[{"name":"0xRenSec","type":"FINDER"},{"name":"Jonatan Männchen / EEF","type":"ANALYST"},{"name":"AJ Foster","type":"REMEDIATION_DEVELOPER"}]}