{"id":"CVE-2026-63393","state":"PUBLISHED","title":"OpenSearch SQL plugin: Unsafe cursor deserialization permits server code execution","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.","publishedAt":"2026-10-30T22:22:05.735Z","updatedAt":"2026-10-30T22:22:05.735Z","severity":{"score":8.7,"label":"High","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["opensearch-project sql"],"affected":[{"vendor":"opensearch-project","product":"sql","versions":[{"version":">= 2.8.0.0, < 2.19.6.0","status":"affected"},{"version":">= 3.0.0.0-alpha1, < 3.7.0.0","status":"affected"}]}],"references":["https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4","https://github.com/opensearch-project/sql/pull/5469","https://github.com/opensearch-project/sql/pull/5572","https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de","https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db","https://github.com/opensearch-project/sql/releases/tag/2.19.6.0","https://github.com/opensearch-project/sql/releases/tag/3.7.0.0"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-30T22:30:06.588Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63393.json","commit":"58c2e21a66b1216f83fe1b7e47ddd9c8c709337b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63393","state":"PUBLISHED","datePublished":"2026-10-30T22:22:05.735Z","dateUpdated":"2026-10-30T22:22:05.735Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-16T17:39:30.171Z"},"containers":{"cna":{"title":"OpenSearch SQL plugin: Unsafe cursor deserialization permits server code execution","descriptions":[{"lang":"en","value":"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":[{"vendor":"opensearch-project","product":"sql","versions":[{"version":">= 2.8.0.0, < 2.19.6.0","status":"affected"},{"version":">= 3.0.0.0-alpha1, < 3.7.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4","name":"https://github.com/opensearch-project/sql/security/advisories/GHSA-r8cv-xvqm-4qj4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opensearch-project/sql/pull/5469","name":"https://github.com/opensearch-project/sql/pull/5469","tags":["x_refsource_MISC"]},{"url":"https://github.com/opensearch-project/sql/pull/5572","name":"https://github.com/opensearch-project/sql/pull/5572","tags":["x_refsource_MISC"]},{"url":"https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de","name":"https://github.com/opensearch-project/sql/commit/402a284f1dff3545236480b67f860aa93fb667de","tags":["x_refsource_MISC"]},{"url":"https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db","name":"https://github.com/opensearch-project/sql/commit/9ab50384d3ad571a14211415fba2f6d26d4c80db","tags":["x_refsource_MISC"]},{"url":"https://github.com/opensearch-project/sql/releases/tag/2.19.6.0","name":"https://github.com/opensearch-project/sql/releases/tag/2.19.6.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/opensearch-project/sql/releases/tag/3.7.0.0","name":"https://github.com/opensearch-project/sql/releases/tag/3.7.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T22:22:05.735Z"},"source":{"advisory":"GHSA-r8cv-xvqm-4qj4","discovery":"UNKNOWN"}}}}}