- Accueil
- Vulnérabilités
- CVE-2026-117656
CVE-2026-117656
Unverified Sign in with Apple callback parameter can override verified ID token claims
Résumé
Acceptance of Extraneous Untrusted Data With Trusted Data vulnerability in the Sign in with Apple strategy in pow-auth Assent allows an unauthenticated remote attacker to impersonate another user via the user parameter of the authorization callback. Apple posts the user's name to the callback endpoint in a user form parameter that the browser submits and the client controls. Assent.Strategy.Apple.callback/2 in lib/assent/strategies/apple.ex decodes that parameter, and fetch_user/2 merges it over the claims of the verified ID token, so the unverified map wins. An attacker who completes a Sign in with Apple login with their own Apple ID and edits the user parameter can replace sub, email, and any other claim. Applications that look up, link, or authorize accounts by the returned subject or email then act on the attacker's values. This issue affects assent: from 0.1.25 before 0.3.2.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
pow-auth (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| assent | de 0.1.25 (inclus) à 0.3.2 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
Remove the user parameter from the callback parameters before you pass them to Assent.Strategy.Apple.callback/2, for example with Map.delete(params, "user"). Without the parameter, decode_user_params/2 yields an empty map and the verified ID token claims pass through unchanged. The user's name is then unavailable, because Apple delivers it only through this parameter.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/pow-auth/assent/commit/18898bde0296152165ae470078490e5798329b1bpatch
- https://github.com/pow-auth/assent/commit/9d2788441f86b991cd8a9989e246e3e1adb6f9a9patch
- https://github.com/pow-auth/assent/security/advisories/GHSA-9fr5-g44g-9526vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-117656.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-117656related
- https://github.com/pow-auth/assent/commit/a2d331e8c51376d6c0b04a81aad31e0b4d4d64a3related
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N(CVSS 4.0, CNA:EEF)- Faiblesse
- CWE-290 · Authentification / contrôle d'accès