Skip to main content

OpenSearch SQL Plugin CVE-2026-83497

| EUVDEUVD-2026-68722 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-08-31 AMZN GHSA-rj55-cp95-h7f6
8.7
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege OpenSearch credentials
  2. Delivery
    Identify reachable plugins/sql endpoint
  3. Exploit
    Craft malicious serialized payload using Java gadget chain
  4. Execution
    Submit crafted cursor parameter in SQL pagination request
  5. Persist
    Server deserializes untrusted data
  6. Impact
    Execute arbitrary code as OpenSearch process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid account on the target OpenSearch cluster with at minimum basic read/search permissions - no administrative or elevated role is needed. The OpenSearch SQL plugin must be installed (it ships bundled with OpenSearch by default, making this a common configuration). The attacker must be able to reach the plugins/sql endpoint over the network. No special configuration beyond the default install is required. Limiting factors include: the requirement for any authenticated account (PR:L - unauthenticated exploitation is not possible), and the need to identify a working Java gadget chain compatible with the specific classpath of the target deployment, which may require reconnaissance of the server environment. Non-default plugin removal (disabling the SQL plugin) would eliminate the attack surface.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects the severity: the attack is network-reachable, requires no complex setup, demands only low-privilege authentication, and yields full compromise of confidentiality, integrity, and availability on the vulnerable system. The SC:N/SI:N/SA:N metrics indicate no lateral scope change is assessed, but RCE on a search cluster typically implies access to indexed data and potential pivot points. No EPSS score was provided, limiting probabilistic exploitation forecasting. No CISA KEV listing and no publicly identified POC code were found at time of analysis, which moderates the immediate urgency slightly. However, CWE-502 Java deserialization is a well-understood and heavily tooled vulnerability class - exploitation does not require novel research once a target gadget chain is identified. Defenders should treat this as high priority for any environment where OpenSearch is cluster-internal or internet-exposed, particularly because the attacker only needs a valid account with read/search rights.

Exploit ScenarioDerived

An attacker with a standard read-only OpenSearch account crafts a malicious Java serialized gadget chain - using a tool such as ysoserial with a gadget chain targeting a library present on the OpenSearch classpath - and base64-encodes it as the cursor parameter in a follow-up SQL query request to the plugins/sql endpoint. The server deserializes the parameter without class filtering, the gadget chain fires, and the attacker achieves code execution as the OpenSearch process user. No public POC has been identified, but the exploitation technique is well-established for Java deserialization vulnerabilities.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

Remote code execution in OpenSearch's SQL plugin cursor pagination component allows authenticated users holding only basic read/search permissions to execute arbitrary code on the server by supplying a crafted serialized cursor parameter to the plugins/sql endpoint. Affecting all versions of self-hosted OpenSearch and Amazon OpenSearch Service up to the patched releases, this CWE-502 deserialization flaw is particularly dangerous because the low privilege bar means any cluster user - not just administrators - can trigger it. Vendor-released patches exist in OpenSearch 2.19.6 and 3.7.0; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

The primary fix is to upgrade self-hosted OpenSearch to version 2.19.6 (2.x branch) or 3.7.0 (3.x branch), available at the official artifact pages (https://opensearch.org/artifacts/by-version/#release-3-7-0 and https://opensearch.org/artifacts/by-version/#release-2-19-6). Amazon OpenSearch Service customers should follow guidance in the AWS security bulletin (https://aws.amazon.com/security/security-bulletins/2026-092-aws/) to determine whether automatic updates apply or manual action is required. If immediate upgrade is not feasible, consider disabling the SQL plugin entirely if cursor-based pagination is not operationally required - note this will remove all SQL query functionality from the plugins/sql endpoint. As a network-layer workaround, restrict access to the plugins/sql endpoint via API gateway rules or security group policies to trusted internal hosts only, reducing the attack surface to authenticated internal users; this does not eliminate the vulnerability but meaningfully narrows the attacker pool. Do not rely on authentication alone as a compensating control, since the flaw is exploitable by any low-privilege account.

Affected VersionsENISA

Amazon OpenSearch Service 2.9 ≤3.5
OpenSearch 2.8 ≤3.6

Affected Packages

euvd amazon_opensearch_service no fix
euvd opensearch no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from CWE-502 (Deserialization of Untrusted Data) within the cursor pagination subsystem of the OpenSearch SQL plugin. Cursor-based pagination passes a serialized state token between client requests, allowing the server to resume query position. When the server deserializes this cursor parameter without type filtering or class allowlisting, an attacker can substitute a crafted serialized payload - often a Java gadget chain (e.g., leveraging Commons Collections, Spring, or similar libraries on the classpath) - to achieve arbitrary code execution. The affected CPE strings cover the entire OpenSearch project (cpe:2.3:a:opensearch:opensearch:*) and Amazon's managed service (cpe:2.3:a:amazon:amazon_opensearch_service:*), indicating the flaw is present in both self-hosted and AWS-managed deployments. The plugins/sql endpoint is part of the bundled SQL plugin that ships with OpenSearch by default.

Know when Opensearch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network endpoint requires only low-privilege credentials (PR:L); no scope change as RCE impact is contained to the OpenSearch server process (S:U).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 31, 2026 - 19:22 NVD
8.8 (HIGH) 8.7 (HIGH)
CVE Published
Aug 31, 2026 - 18:36 cve.org
HIGH 8.7

DescriptionCVE.org

Unrestricted deserialization of untrusted data in the cursor pagination component in the OpenSearch SQL plugin allows a remote authenticated user with basic read/search permissions to execute arbitrary code on the server by sending a crafted cursor parameter to the plugins/sql endpoint.

Executive ViewAI

Why It Matters

OpenSearch's SQL plugin is vulnerable to remote code execution through cursor pagination, allowing any authenticated database user to execute arbitrary commands on the server. This vulnerability affects both self-hosted deployments and Amazon OpenSearch Service, creating a significant privilege escalation risk where low-privilege read-only users can gain full server control.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular AWS-native search platform, significant but not ubiquitous enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2022-31115 HIGH POC
8.8 Jun 30

opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln

CVE-2025-9624 HIGH POC
8.3 Nov 25

A vulnerability in OpenSearch allows attackers to cause Denial of Service (DoS) by submitting complex query_string input

CVE-2026-18420 HIGH
8.7 Aug 20

Remote code execution in OpenSearch Dashboards 3.0.0-3.7.x allows an authenticated low-privileged user to fully compromi

CVE-2026-18428 HIGH
8.7 Aug 13

Remote code execution via the OpenSearch SQL plugin's Flint extension query handler exposes Apache Spark workers to arbi

CVE-2026-75897 HIGH
8.7 Aug 18

Unbounded HTTP request payload processing in OpenSearch Dashboards' capabilities route handler allows unauthenticated re

CVE-2023-23612 HIGH
8.8 Jan 26

OpenSearch is an open source distributed and RESTful search engine. Rated high severity (CVSS 8.8), this vulnerability i

CVE-2026-19311 HIGH
8.6 Aug 12

Missing authorization in the Execute Monitor API of the Amazon OpenSearch Alerting plugin allows any authenticated remot

CVE-2026-18952 HIGH
8.6 Aug 12

Server-side request forgery and local file read in the OpenSearch Security Analytics plugin exposes authenticated users

CVE-2022-35980 HIGH
7.5 Aug 12

OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. Rated high seve

CVE-2023-23613 MEDIUM
6.5 Jan 26

OpenSearch is an open source distributed and RESTful search engine. Rated medium severity (CVSS 6.5), this vulnerability

CVE-2022-41918 MEDIUM
6.3 Nov 15

OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. Rated medium severity (CVSS 6.3), this v

CVE-2026-77811 MEDIUM
6.2 Aug 21

Stored cross-site scripting in the OpenSearch Dashboards dashboards-observability plugin allows a remote authenticated u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy