CVE-2026-18428 SQL Query Validation Bypass in OpenSearch Direct Query
Remote authenticated attackers can execute arbitrary code on Spark workers by bypassing SQL validation in the OpenSearch Flint extension.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18428?
CVE-2026-18428 is a high-severity code injection vulnerability in AWS Opensearch, published on 13 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-693
Which versions are affected by CVE-2026-18428?
How do I fix CVE-2026-18428?
No fix has been published for CVE-2026-18428 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-18428 being exploited?
There is no known exploitation of CVE-2026-18428 in the wild and no public exploit code.
Sources
Also known as GHSA-3rvx-fcj6-wr45, GHSA-g4jr-343c-fvjm.