Description
A SQL query validation bypass in the Flint extension query handler in the OpenSearch SQL plugin allows a remote authenticated actor with async query access to execute arbitrary code on Apache Spark workers by sending a crafted SQL query to the direct query endpoint.
Published: 2026-08-13
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Flint extension query handler of the OpenSearch SQL plugin allows an attacker who is authenticated and has async query privileges to send a specially crafted SQL query to the direct query endpoint. The vulnerability bypasses normal SQL query validation, permitting execution of arbitrary code on the underlying Apache Spark workers. This can lead to full compromise of the cluster’s data and compute resources, affecting confidentiality, integrity, and availability.

Affected Systems

The issue affects OpenSearch deployments from AWS and GitHub that incorporate the OpenSearch SQL plugin. Specific product versions are not enumerated in the available data, but the references point to the release series 2.19.6 and 3.7.0 where the fix was applied.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, while the EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. The attack requires authentication with async query capabilities, which may be granted to service roles or privileged users; the attacker can then trigger the bypass by issuing a crafted query to the direct query endpoint. Given the high CVSS and the availability of a functional exploit path in the plugin, the risk is significant for any exposed OpenSearch service.

Generated by OpenCVE AI on August 13, 2026 at 18:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenSearch to a patched release (for example, 2.19.6 or 3.7.0 or later) that includes the fix for the SQL query validation bypass.
  • If an upgrade cannot be performed immediately, restrict network access to the direct query endpoint so that only trusted internal systems can reach it.
  • Continuously monitor OpenSearch logs for suspicious or unusually complex SQL queries that may indicate attempted exploitation.

Generated by OpenCVE AI on August 13, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description A SQL query validation bypass in the Flint extension query handler in the OpenSearch SQL plugin allows a remote authenticated actor with async query access to execute arbitrary code on Apache Spark workers by sending a crafted SQL query to the direct query endpoint.
Title SQL Query Validation Bypass in OpenSearch Direct Query
First Time appeared Aws
Aws opensearch
Github
Github opensearch
Weaknesses CWE-693
CPEs cpe:2.3:a:aws:opensearch:*:*:*:*:*:*:*:*
cpe:2.3:a:github:opensearch:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws opensearch
Github
Github opensearch
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-08-13T17:57:51.408Z

Reserved: 2026-07-30T18:25:37.247Z

Link: CVE-2026-18428

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T18:17:21.130

Modified: 2026-08-13T18:17:21.130

Link: CVE-2026-18428

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:30:16Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure