{"id":"CVE-2026-18428","summary":"SQL Query Validation Bypass in OpenSearch Direct Query","details":"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.","aliases":["GHSA-g4jr-343c-fvjm"],"modified":"2026-08-15T11:45:38.098527758Z","published":"2026-08-13T17:32:48.455Z","database_specific":{"cna_assigner":"AMZN","cwe_ids":["CWE-693"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18428.json"},"references":[{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/2026-081-aws/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18428.json"},{"type":"ADVISORY","url":"https://github.com/opensearch-project/sql/security/advisories/GHSA-g4jr-343c-fvjm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18428"},{"type":"FIX","url":"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html"},{"type":"FIX","url":"https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-2-19-6"},{"type":"FIX","url":"https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-3-7-0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensearch-project/sql","events":[{"introduced":"89647c14f624320a26e30e04af865c9471189008"},{"last_affected":"d680c44ccdcfa638fc16c73d74cde48832701650"},{"last_affected":"380b8dd652251873f46a4a7d3e17e8f42cfe05fc"}],"database_specific":{"extracted_events":[{"introduced":"2.13"},{"last_affected":"3.5"},{"last_affected":"3.6"}],"source":"AFFECTED_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18428.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}