Description
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.
Published: 2026-10-30
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Server Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows unsafe deserialization of a cursor parameter in the OpenSearch SQL plugin, which can lead to arbitrary code execution on the server. An attacker with basic read/search permissions can craft a request to the plugins/sql endpoint that triggers the deserialization flaw, enabling them to run arbitrary code with the privileges of the OpenSearch service. This is a high‑impact weakness classified as CWE‑502.

Affected Systems

The affected product is the OpenSearch SQL plugin, advertised as opensearch-project:sql. Versions in the 2.x line from 2.8.0.0 up to but not including 2.19.6.0, and the 3.x line prior to 3.7.0.0 are vulnerable. The fix is included in releases 2.19.6.0 and 3.7.0.0.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. The EPSS score is not available, but the lack of a KEV listing suggests no publicly known exploitation yet. The likely attack vector is a remote authenticated user submitting a crafted cursor value via the plugins/sql endpoint. If exploited, it could compromise the entire OpenSearch cluster by executing arbitrary code on the host.

Generated by OpenCVE AI on October 30, 2026 at 23:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the OpenSearch SQL plugin to version 2.19.6.0 or 3.7.0.0 to apply the fixed deserialization logic.
  • Restrict access to the plugins/sql endpoint by enforcing stricter authentication and authorization or disabling the endpoint for non‑trusted users.
  • Implement defensive coding practices for deserialization, such as using safe deserialization libraries and validating input against a whitelist to mitigate CWE‑502 risks.

Generated by OpenCVE AI on October 30, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Description 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.
Title OpenSearch SQL plugin: Unsafe cursor deserialization permits server code execution
Weaknesses CWE-502
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T22:22:05.735Z

Reserved: 2026-07-16T17:39:30.171Z

Link: CVE-2026-63393

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T23:17:14.557

Modified: 2026-10-30T23:17:14.557

Link: CVE-2026-63393

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-31T00:00:27Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data