{"id":"CVE-2026-18428","state":"PUBLISHED","title":"SQL Query Validation Bypass in OpenSearch Direct Query","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.","publishedAt":"2026-08-13T17:32:48.455Z","updatedAt":"2026-08-13T17:57:51.408Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"AMZN"},"assigner":"AMZN","products":["AWS Opensearch","Github Opensearch"],"affected":[{"vendor":"AWS","product":"Opensearch","defaultStatus":"unaffected","versions":[{"version":"2.13","status":"affected","lessThanOrEqual":"3.5","versionType":"custom"}]},{"vendor":"Github","product":"Opensearch","defaultStatus":"unaffected","versions":[{"version":"2.13","status":"affected","lessThanOrEqual":"3.6","versionType":"custom"}]}],"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/"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18428.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18428","state":"PUBLISHED","datePublished":"2026-08-13T17:32:48.455Z","dateUpdated":"2026-08-13T17:57:51.408Z","assignerShortName":"AMZN","assignerOrgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateReserved":"2026-07-30T18:25:37.247Z"},"containers":{"cna":{"title":"SQL Query Validation Bypass in OpenSearch Direct Query","descriptions":[{"lang":"en","value":"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":[{"vendor":"AWS","product":"Opensearch","defaultStatus":"unaffected","versions":[{"version":"2.13","status":"affected","lessThanOrEqual":"3.5","versionType":"custom"}]},{"vendor":"Github","product":"Opensearch","defaultStatus":"unaffected","versions":[{"version":"2.13","status":"affected","lessThanOrEqual":"3.6","versionType":"custom"}]}],"references":[{"url":"https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-3-7-0","tags":["patch"]},{"url":"https://opensearch.org/artifacts/by-version/?_gl=1*d14pqp*_up*MQ..*_ga*Nzc5NTAxNzM2LjE3ODM1NTA2NDA.*_ga_BQV14XK08F*czE3ODM1NTA2NDAkbzEkZzEkdDE3ODM1NTA3MTQkajU2JGwwJGg3NTc4ODY0OTM.#release-2-19-6","tags":["patch"]},{"url":"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html","tags":["patch","release-notes"]},{"url":"https://github.com/opensearch-project/sql/security/advisories/GHSA-g4jr-343c-fvjm","tags":["release-notes","vendor-advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-081-aws/","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"AMZN","orgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateUpdated":"2026-08-13T17:32:48.455Z"},"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153: Input Data Manipulation"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:aws:opensearch:*:*:*:*:*:*:*:*","versionStartIncluding":"2.13","versionEndIncluding":"3.5"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:github:opensearch:*:*:*:*:*:*:*:*","versionStartIncluding":"2.13","versionEndIncluding":"3.6"}]}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T17:57:41.536871Z","id":"CVE-2026-18428","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T17:57:51.408Z"}}]}}}