{
  "affected": [
    {
      "ranges": [
        {
          "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "380376cc8653008479abdd18a0234660db3d599c"
            },
            {
              "fixed": "e44a2919a185a7f457f1dd6e46f83f8d9c295e9d"
            },
            {
              "fixed": "a09ccc04b9556cbb31c6d56ed81aeb6b9b6c0756"
            }
          ],
          "repo": "https://github.com/shopify/shopify_app",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6j52-38f8-qhxr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63414.json"
  },
  "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.",
  "id": "CVE-2026-63414",
  "modified": "2026-11-01T02:30:29.690397322Z",
  "published": "2026-10-30T22:49:47.431Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Shopify App: Token exchange shop context confusion may allow cross-shop authorization bypass in affected apps"
}