{"id":"CVE-2026-63414","summary":"Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps","details":"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.","aliases":["GHSA-6j52-38f8-qhxr"],"modified":"2026-11-01T02:47:32.807857954Z","published":"2026-10-30T22:49:47.431Z","database_specific":{"cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63414.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Shopify/shopify_app/releases/tag/v23.0.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63414.json"},{"type":"ADVISORY","url":"https://github.com/Shopify/shopify_app/security/advisories/GHSA-6j52-38f8-qhxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63414"},{"type":"FIX","url":"https://github.com/Shopify/shopify_app/commit/a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756"},{"type":"FIX","url":"https://github.com/Shopify/shopify_app/pull/2081"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/shopify/shopify_app","events":[{"introduced":"380376cc8653008479abdd18a0234660db3d599c"},{"fixed":"e44a2919a185a7f457f1dd6e46f83f8d9c295e9d"},{"fixed":"a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"22.1.0"},{"fixed":"23.0.3"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v23.0.3","range":[{"fixed":"e44a2919a185a7f457f1dd6e46f83f8d9c295e9d"}],"source":"REFERENCES_TAG"}]}}],"versions":["v23.0.2","v23.0.1","v23.0.0","v22.6.0","v22.5.0","v22.4.0","v22.3.1","v23.3.0","v22.3.0","v22.1.0","v22.2.1","v22.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63414.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}