Prototype pollution enables remote code execution in OpenSearch Dashboards and Amazon OpenSearch Service

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-18420?

CVE-2026-18420 is a vulnerability classified as Improperly Controlled Modification of Object Prototype Attributes, affecting Amazon OpenSearch Service (affected versions: 3.0.0 – < 3.8.0) and OpenSearch Dashboards (affected versions: 3.0.0 – < 3.8.0). This vulnerability is rated High, with a CVSS score of 8.7. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Improper input validation in the Time Series Visual Builder (TSVB) plugin in OpenSearch Dashboards allows an authenticated remote user to execute arbitrary code on the server via a crafted JSON payload to the metrics visualization API endpoint. This issue is a form of prototype pollution that enables remote code execution. To remediate this issue, users should upgrade to OpenSearch Dashboards 3.8 or later.

Affected products and scope

  • Self-managed OpenSearch Dashboards: versions from 3.0.0 through less than 3.8.0 are affected. OpenSearch identifies 3.8.0 as patched.
  • Amazon OpenSearch Service Managed: corresponding service versions from 3.0.0 through less than 3.8.0 are affected according to the AWS advisory.
  • The record does not describe parallel branches or versions outside these boundaries. For AWS Managed deployments, patch status depends on the service software update applied to each domain.

Technical details

The flaw is in the Time Series Visual Builder (TSVB) plugin in OpenSearch Dashboards and is classified as CWE-1321, prototype pollution caused by improper control over modifications to object prototype attributes.

An attacker sends a crafted JSON payload to the metrics visualization API endpoint. Exploitation requires a remote authenticated user with standard data access permissions, but does not require administrative privileges. The payload can pollute an object prototype and lead to arbitrary code execution in the OpenSearch Dashboards Node.js server process.

The published evidence does not identify the exact object property, code path, or payload field that triggers the issue. Those implementation details should therefore not be inferred beyond the confirmed endpoint, plugin, authentication requirement, and impact.

Exploitability

The issue is remotely reachable over the network by an authenticated account with standard data access permissions. No user interaction is required, and the supplied technical assessment characterizes exploitation complexity as low.

Administrative privileges are not required, but the attacker still needs valid credentials and access sufficient to reach the endpoint. The supplied record marks public exploit as false; the available evidence does not establish exploitation in the wild or associate the issue with a named campaign.

Technical impact

The flaw allows an authenticated user with standard data access permissions to achieve remote code execution in the OpenSearch Dashboards Node.js server process. Potential technical outcomes include reading configuration data and credentials, arbitrary file-system access, command execution, and changes to the service environment.

The direct impact is on the OpenSearch Dashboards server, but it may extend to other services if the process has suitable network connectivity and permissions. The issue does not require administrative privileges or user interaction, but it does require an authenticated account. The record does not provide evidence that specific data was accessed, changed, or exfiltrated from a particular deployment.

Business impact

  • Code execution in the OpenSearch Dashboards Node.js process can compromise the confidentiality, integrity, and availability of the service host.
  • An attacker may read environment variables, configuration files, and credentials available to the process.
  • The advisory describes arbitrary file-system read, write, and execute access, as well as arbitrary command execution.
  • Potential lateral movement is possible if the OpenSearch Dashboards process has network access to other services; this depends on the deployment's connectivity and permissions.
  • The practical extent of impact depends on the compromised account, the service process privileges, and the network access available to the host.

Remediation

  1. Self-managed OpenSearch Dashboards: upgrade to OpenSearch Dashboards 3.8.0, which the OpenSearch advisory identifies as patched. If forked or derivative code is used, ensure that the fixes are incorporated there as well.
  2. Amazon OpenSearch Service Managed: apply the latest available service software update to each affected domain. AWS states that the OpenSearch Service console Notifications panel indicates when an update is available.
  3. Temporary measure: if an immediate upgrade is not possible, disable TSVB visualization until a fixed version is deployed. This is a temporary workaround, not a replacement for upgrading.
  4. After updating, verify the deployed version, TSVB status, and access held by accounts that can reach the metrics visualization API endpoint.

Detection

  • Inventory self-managed OpenSearch Dashboards deployments and Amazon OpenSearch Service domains, then compare deployed versions with the affected branch from 3.0.0 through less than 3.8.0.
  • Identify deployments where TSVB is enabled and accounts with standard data access permissions, because the advisory identifies those permissions as the access precondition.
  • Review reverse proxy, application, and service logs for authenticated requests to the metrics visualization API endpoint, including requests containing unusual JSON. No specific IOC or log signature is provided, so this is precautionary review rather than a confirmed detection rule.
  • For Amazon OpenSearch Service, check the OpenSearch Service console Notifications panel for an available service software update for each domain.
  • After remediation, verify the deployed version and TSVB state. Do not treat the absence of suspicious log entries as proof that exploitation did not occur.
Sources (19)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.