CVE-2026-63414High▾ TwilightShopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Oct 31.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.5%
In token-exchange authenticated controllers, shopify_app exposes shop context through helpers such as current_shopify_domain. Prior to the fix, current_shopify_domain could resolve to the sanitized shop query parameter instead of the shop identity derived from the verified Shopify ID token or active Shopify session.
As a result, a request authenticated for one shop could include a different shop query parameter, causing application code to treat the requested shop as the current shop.
Applications that used current_shopify_domain, or the request shop parameter, for authorization decisions, tenant lookup, stored access-token selection, or shop-scoped data access may have been vulnerable to cross-shop context confusion.
The patched version hardens token-exchange handling so that:
current_shopify_domain resolves to the authenticated shop from the verified token or session.authenticated_shopify_domain exposes the trusted authenticated shop.requested_shopify_domain exposes the sanitized requested shop parameter for bootstrap or routing use cases only.401 Unauthorized when the requested shop does not match the authenticated shop.In affected applications, an attacker with a valid Shopify session token for one shop could send an authenticated request that also supplied a different shop query parameter. If the application relied on current_shopify_domain or params[:shop] for security-sensitive shop scoping, application code could operate in the context of the requested shop rather than the authenticated shop.
Affected applications are those that:
shopify_app token-exchange authentication;shop query parameter may be present; andcurrent_shopify_domain or the request shop parameter for authorization, tenant lookup, stored access-token selection, or shop-scoped resource access.Depending on the application’s authorization model, this could result in unauthorized access to another shop’s application data or unauthorized shop-scoped actions.
Upgrade to shopify_app version 23.0.3
Applications that cannot upgrade immediately should apply equivalent validation in token-exchange authenticated controllers:
params[:shop] for authorization, tenant lookup, access-token selection, or data scoping.current_shopify_domain for security-sensitive shop scoping if a shop query parameter may be present.current_shopify_session.shop or the verified JWT dest value.
params[:shop] value is present, reject the request with 401 Unauthorized when it does not match the authenticated shop.This issue was responsibly reported by Hackerone researcher leqtuer.
shopify_app >= 22.1.0, < 23.0.3Upgrade to a patched release:
shopify_app 23.0.3Connected by shared product, vendor, weakness, or advisory.
CVE-2025-67740Low· 2.7In JetBrains TeamCity before 2025.11 improper access control could expose GitHub App token's metadata
CVE-2020-3578Medium· 5.3A vulnerability in the web services interface of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to bypass a configured access rule and ac…
CVE-2024-6593Critical· 9.1Incorrect Authorization vulnerability in WatchGuard Authentication Gateway (aka Single Sign-On Agent) on Windows allows an attacker with network access to execute restricted management commands. An attacker that has already gained netwo…
CVE-2024-46918Medium· 4.9app/Controller/UserLoginProfilesController.php in MISP before 2.4.198 does not prevent an org admin from viewing sensitive login fields of another org admin in the same org.
CVE-2026-100105High· 7.7Alerting contact point authorization bypass via schema downgrade
CVE-2023-5009High· 8.2Incorrect Authorization in GitLab