{"id":"CVE-2026-63414","state":"PUBLISHED","title":"Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps","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.","publishedAt":"2026-10-30T22:49:47.431Z","updatedAt":"2026-11-05T03:01:40.702Z","severity":{"score":7.6,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["Shopify shopify_app"],"affected":[{"vendor":"Shopify","product":"shopify_app","versions":[{"version":">= 22.1.0, < 23.0.3","status":"affected"}]}],"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"],"weaknesses":["CWE-863"],"ingestedAt":"2026-11-05T03:20:06.416Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63414.json","commit":"ac41b50b0243e93094e74c15518f250eaded7ddd","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63414","state":"PUBLISHED","datePublished":"2026-10-30T22:49:47.431Z","dateUpdated":"2026-11-05T03:01:40.702Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-16T19:20:28.988Z"},"containers":{"cna":{"title":"Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Shopify","product":"shopify_app","versions":[{"version":">= 22.1.0, < 23.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr","name":"https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Shopify/shopify_app/pull/2081","name":"https://github.com/Shopify/shopify_app/pull/2081","tags":["x_refsource_MISC"]},{"url":"https://github.com/Shopify/shopify_app/commit/a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756","name":"https://github.com/Shopify/shopify_app/commit/a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756","tags":["x_refsource_MISC"]},{"url":"https://github.com/Shopify/shopify_app/releases/tag/v23.0.3","name":"https://github.com/Shopify/shopify_app/releases/tag/v23.0.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T22:49:47.431Z"},"source":{"advisory":"GHSA-6j52-38f8-qhxr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T03:01:30.497571Z","id":"CVE-2026-63414","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-05T03:01:40.702Z"}}]}}}