CVE-2026-117656

Unverified Sign in with Apple callback parameter can override verified ID token claims

Published Oct 30, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs when the Sign in with Apple strategy in pow‑auth Assent accepts a user form parameter containing unverified data and merges it over claims from a verified ID token. An attacker who completes an Apple login with their own Apple ID and edits the callback user parameter can replace the sub, email, and any other claim. This allows the attacker to impersonate another user, causing a loss of confidentiality and integrity for the targeted account. The weakness is a failure to separate trusted and unverified data, exemplified by CWE‑290 and CWE‑349; the impact is remote user impersonation.

Affected Systems

Applications that use pow‑auth Assent’s Sign in with Apple strategy are affected when the version installed is any 0.1.25 through 0.3.1 inclusive. The product is pow‑auth Assent and the sub‑strategy is Assent.Strategy.Apple for the callback handling. Systems running these versions are vulnerable because the callback merges untrusted parameters over the trusted ID token claims.

Risk and Exploitability

The CVSS score of 9.3 marks this as a high‑severity client‑side logic flaw that can have a global impact. No EPSS score is currently published, so the exploitation probability cannot be precisely quantified, but the high CVSS indicates a high likelihood of exploitation if an attacker can supply a crafted Sign in with Apple callback. The vulnerability is not present in the CISA KEV, suggesting no known active exploitation at the time of this analysis. The likely attack vector is an unauthenticated remote attacker who controls the Apple ID used during Sign in with Apple and can manipulate the callback request parameters, which is feasible through a legitimate login flow.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Upgrade pow‑auth Assent to version 0.3.2 or newer to receive the fixed callback handling logic that does not allow unverified data to override verified claims.
  • In the callback handler, explicitly remove the "user" parameter before invoking Assent.Strategy.Apple.callback, for example Map.delete(params, "user").
  • Ensure that any user attributes obtained from the callback are validated against the signed ID token claims and that application logic does not rely solely on values such as sub or email from the untrusted map.

Generated by OpenCVE AI on October 31, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Unverified Sign in with Apple callback parameter can override verified ID token claims
First Time appeared Pow-auth
Pow-auth assent
Weaknesses CWE-290
CWE-349
CPEs cpe:2.3:a:pow-auth:assent:*:*:*:*:*:*:*:*
Vendors & Products Pow-auth
Pow-auth assent
References
Metrics cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-349

    Acceptance of Extraneous Untrusted Data With Trusted Data

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 19, 2026, 6:59 AM
Reserved
Oct 30, 2026, 11:30 PM
Status
Deferred
Published
Oct 31, 2026, 12:16 AM
Modified
Nov 19, 2026, 7:17 AM