RubyGems
CVE-2026-63414
Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps
- Severity
- High
- Published
- 29 Oct 2026
- Last changed
- 29 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 23.0.3
- Exploit chance
- 0.6% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-6j52-38f8-qhxr
- Sources
- OSV.dev and GitHub
Description
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.
Workarounds
Applications that cannot upgrade immediately should apply equivalent validation in token-exchange authenticated controllers:
- Do not use params[:shop] for authorization, tenant lookup, access-token selection, or data scoping.
- On vulnerable versions, avoid relying on current_shopify_domain for security-sensitive shop scoping if a shop query parameter may be present.
- Use the authenticated shop from the verified ID token or active Shopify session instead, such as current_shopify_session.shop or the verified JWT dest value.
Affected software
| Software | Affected versions |
|---|---|
shopify_appRubyGems · osv:RubyGems:shopify_app |
|
About shopify_app
- Total downloads (RubyGems)
- 3,153,778RubyGems, 24 Nov 2026
This is the only vulnerability in shopify_app in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63414
- GitHub Advisory Database https://github.com/advisories/GHSA-6j52-38f8-qhxr