---
id: CVE-2026-63393
title: >-
  OpenSearch SQL plugin: Unsafe cursor deserialization permits server code
  execution
summary: >-
  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 …
severity: high
cvss: 8.7
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-502
vendor: opensearch-project
product: sql
affected:
  - 'sql >= 2.8.0.0, < 2.19.6.0'
  - 'sql >= 3.0.0.0-alpha1, < 3.7.0.0'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-02T14:47:58.581053Z'
published: '2026-10-30'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T14:48:08.509Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-63393'
references:
  - url: >-
      https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4
    label: >-
      https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4
  - url: 'https://github.com/opensearch-project/sql/pull/5469'
    label: 'https://github.com/opensearch-project/sql/pull/5469'
  - url: 'https://github.com/opensearch-project/sql/pull/5572'
    label: 'https://github.com/opensearch-project/sql/pull/5572'
  - url: >-
      https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de
    label: >-
      https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de
  - url: >-
      https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db
    label: >-
      https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db
  - url: 'https://github.com/opensearch-project/sql/releases/tag/2.19.6.0'
    label: 'https://github.com/opensearch-project/sql/releases/tag/2.19.6.0'
  - url: 'https://github.com/opensearch-project/sql/releases/tag/3.7.0.0'
    label: 'https://github.com/opensearch-project/sql/releases/tag/3.7.0.0'
tags:
  - cve.org
epss: 0.00499
epssPercentile: 0.4303
ingestedAt: '2026-11-05T19:30:42.670Z'
---

## Overview

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.

## Affected

- `sql >= 2.8.0.0, < 2.19.6.0`
- `sql >= 3.0.0.0-alpha1, < 3.7.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
