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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-502 — CWE-502: Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| opensearch-project | sql | >= 2.8.0.0, < 2.19.6.0 [affected]; >= 3.0.0.0-alpha1, < 3.7.0.0 [affected] |
References
- https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4 (x_refsource_CONFIRM)
- https://github.com/opensearch-project/sql/pull/5469 (x_refsource_MISC)
- https://github.com/opensearch-project/sql/pull/5572 (x_refsource_MISC)
- https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de (x_refsource_MISC)
- https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db (x_refsource_MISC)
- https://github.com/opensearch-project/sql/releases/tag/2.19.6.0 (x_refsource_MISC)
- https://github.com/opensearch-project/sql/releases/tag/3.7.0.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.