Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
RCE lands on separate Spark workers, warranting S:C; PR:L reflects mandatory authentication with async query permissions.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Remote code execution via the OpenSearch SQL plugin's Flint extension query handler exposes Apache Spark workers to arbitrary code execution by any authenticated user holding async query access. The vulnerable component is the SQL query validation layer in the Flint extension, which fails to prevent crafted payloads from reaching and executing on Spark worker nodes. No public exploit code has been identified at time of analysis, but the network-reachable RCE primitive, low complexity, and low privilege requirement collectively make this a high-priority remediation target; vendor patches are available in OpenSearch 3.7.0 and 2.19.6.
Technical ContextAI
OpenSearch is an open-source distributed search and analytics engine (successor to Elasticsearch) maintained by AWS and the community, identified in CPEs as cpe:2.3:a:aws:opensearch and cpe:2.3:a:github:opensearch covering both the AWS-managed service and the upstream open-source distribution. The SQL plugin extends OpenSearch with SQL query capabilities, and its Flint extension integrates with Apache Spark to enable federated query execution against external data sources via the direct query endpoint. Queries submitted to this endpoint are dispatched asynchronously to Spark workers for distributed processing. CWE-693 (Protection Mechanism Failure) identifies the root cause: the query validation mechanism that is supposed to sanitize or reject malicious SQL constructs before they reach Spark can be circumvented by a specifically crafted query, allowing the attacker-controlled payload to execute directly on Spark worker nodes rather than being safely rejected at the OpenSearch layer.
RemediationAI
The primary fix is to upgrade to OpenSearch 3.7.0 (for the 3.x release line) or OpenSearch 2.19.6 (for the 2.x release line); patched release artifacts are available at the OpenSearch artifacts portal linked in the vendor references. AWS OpenSearch Service customers should apply the latest service software update as described at https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html. Where immediate patching is not feasible, the most effective compensating control is to disable the Flint extension integration entirely if Apache Spark federation is not operationally required, which removes the vulnerable query handler from the attack surface; the trade-off is loss of Spark-federated query capability. A secondary compensating control is to aggressively restrict async query permissions - revoke the privilege from any account that does not operationally require it, reducing the pool of principals who can reach the vulnerable code path; this does not eliminate the vulnerability but significantly narrows exposure. Network-layer access control to the direct query endpoint (restricting which source IPs or internal services can reach it) provides additional defense-in-depth.
Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w
Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma
Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.
An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe
Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit
A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede
OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by
PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab
Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers
actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability
Same weakness CWE-693 – Protection Mechanism Failure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58178
GHSA-3rvx-fcj6-wr45