Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege OpenSearch credentials
-
DeliveryIdentify reachable plugins/sql endpoint
-
ExploitCraft malicious serialized payload using Java gadget chain
-
ExecutionSubmit crafted cursor parameter in SQL pagination request
-
PersistServer deserializes untrusted data
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network endpoint requires only low-privilege credentials (PR:L); no scope change as RCE impact is contained to the OpenSearch server process (S:U).
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Opensearch
View allopensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln
A vulnerability in OpenSearch allows attackers to cause Denial of Service (DoS) by submitting complex query_string input
Remote code execution in OpenSearch Dashboards 3.0.0-3.7.x allows an authenticated low-privileged user to fully compromi
Remote code execution via the OpenSearch SQL plugin's Flint extension query handler exposes Apache Spark workers to arbi
Unbounded HTTP request payload processing in OpenSearch Dashboards' capabilities route handler allows unauthenticated re
OpenSearch is an open source distributed and RESTful search engine. Rated high severity (CVSS 8.8), this vulnerability i
Missing authorization in the Execute Monitor API of the Amazon OpenSearch Alerting plugin allows any authenticated remot
Server-side request forgery and local file read in the OpenSearch Security Analytics plugin exposes authenticated users
OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. Rated high seve
OpenSearch is an open source distributed and RESTful search engine. Rated medium severity (CVSS 6.5), this vulnerability
OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. Rated medium severity (CVSS 6.3), this v
Stored cross-site scripting in the OpenSearch Dashboards dashboards-observability plugin allows a remote authenticated u
EUVD-2026-68722
GHSA-rj55-cp95-h7f6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB