CVE-2026-18428
8.8AWS · Opensearch
A SQL query validation bypass in the OpenSearch SQL plugin allows authenticated actors to execute arbitrary code on Apache Spark workers via the direct query endpoint.
Executive summary
An authenticated remote code execution vulnerability in the OpenSearch SQL plugin enables attackers to compromise Apache Spark workers, presenting a high risk to data processing environments.
Vulnerability
This flaw, categorized as CWE-693 (Protection Mechanism Failure), involves a validation bypass in the Flint extension query handler. It requires the attacker to be authenticated with async query access to trigger arbitrary code execution.
Business impact
Exploitation allows for remote code execution on the underlying infrastructure, which could lead to full system compromise of Spark workers. Given the 8.8 CVSS score, this represents a severe threat to the security and availability of the OpenSearch analytics cluster and associated data.
Remediation
Immediate Action: Upgrade to OpenSearch version 3.7.0 or 2.19.6 immediately to apply the necessary security fixes.
Proactive Monitoring: Monitor Spark worker logs for unauthorized execution patterns or unexpected system calls originating from the SQL query handler.
Compensating Controls: Limit access to the async query endpoint to trusted users only and employ network-level segmentation to isolate Spark workers from sensitive network segments.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
Security teams must prioritize the update to the specified patched versions of OpenSearch. Until patching is complete, verify that only essential personnel have permissions for async query operations to reduce the attack surface.