{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.8.0.0"
                  },
                  {
                    "fixed": "2.19.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0.0-alpha1"
                  },
                  {
                    "fixed": "3.7.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "402a284f1dff3545236480b67f860aa93fb667de"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "9ab50384d3ad571a14211415fba2f6d26d4c80db"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.19.6.0",
                "range": [
                  {
                    "fixed": "9dc901e7e479e7928e739fb9f97165c5ea390bc4"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "3.7.0.0",
                "range": [
                  {
                    "fixed": "71a96e387a4a27a9ecfbae7f5611f27331c1d621"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8ea39ef9edc572cf36a6ce2d51f83f789e13a22b"
            },
            {
              "fixed": "9dc901e7e479e7928e739fb9f97165c5ea390bc4"
            },
            {
              "introduced": "f805df0ab8796de5aefc076308dccf0a808244c4"
            },
            {
              "fixed": "71a96e387a4a27a9ecfbae7f5611f27331c1d621"
            },
            {
              "fixed": "402a284f1dff3545236480b67f860aa93fb667de"
            },
            {
              "fixed": "9ab50384d3ad571a14211415fba2f6d26d4c80db"
            }
          ],
          "repo": "https://github.com/opensearch-project/sql",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r8cv-xvqm-4qj4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63393.json"
  },
  "details": "OpenSearch SQL supports querying OpenSearch data using SQL and Piped Processing Language. In the 2.x line from 2.8.0.0 until 2.19.6.0, and the 3.x line prior to 3.7.0.0, a remote authenticated user with basic read/search permissions can provide a crafted `cursor` parameter to the `plugins/sql` endpoint and trigger unsafe deserialization of untrusted data, resulting in arbitrary code execution on the server. This issue is fixed in repository releases 2.19.6.0 and 3.7.0.0.",
  "id": "CVE-2026-63393",
  "modified": "2026-11-04T02:31:01.333472436Z",
  "published": "2026-10-30T22:22:05.735Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/opensearch-project/sql/releases/tag/2.19.6.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opensearch-project/sql/releases/tag/3.7.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63393.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63393"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opensearch-project/sql/pull/5469"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opensearch-project/sql/pull/5572"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenSearch SQL plugin: Unsafe cursor deserialization permits server code execution"
}