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

> CVE-2026-18428: SQL Query Validation Bypass in OpenSearch Direct Query. CVSS 8.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-18428
Last updated: 2026-08-14T19:04:40Z

- Published: 2026-08-13 17:32 UTC · Updated: 2026-08-14 19:04 UTC · Assigner: AMZN
- CVSS: 8.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.00%, 63th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-693

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

## Affected vendors and products

- AWS: Opensearch
- Github: Opensearch

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)
- [GitHub](https://rewindex.com/company/github.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-18428)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-18428)
- [https://aws.amazon.com/security/security-bulletins/2026-081-aws/](https://aws.amazon.com/security/security-bulletins/2026-081-aws/)
- [https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html](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://github.com/opensearch-project/sql/security/advisories/GHSA-g4jr-343c-fvjm)
- [https://opensearch.org/artifacts/by-version/?\_gl=1\*d14pqp\*\_up\*MQ..\*\_ga\*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.\*\_ga\_BQV14XK08F\*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.\#release-2-19-6](https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-2-19-6)
- [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-3-7-0)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-18428 · Markdown: https://rewindex.com/cve/CVE-2026-18428.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-18428 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:18.569Z
