Elasticsearch 9.5.6 Security Update (ESA-2026-592x-2gxj)

Unconstrained S3 Endpoints in Elasticsearch ES|QL Data Sources

Unconstrained S3 endpoint settings in Elasticsearch ES|QL data sources can cause requests containing storage credentials to be sent to an attacker-controlled host. A user with data-source management privileges can configure a custom endpoint without the intended host restriction. On opted-in commercial Elastic Cloud Hosted deployments, the issue can also disclose workload-identity tokens and expose customer cloud resources outside Elasticsearch. Self-managed deployments are affected by the storage-endpoint path only.

Affected Versions:

Elasticsearch / ES|QL

  • 9.x: All versions from 9.5.0 up to and including 9.5.5

Affected Configurations:

The vulnerability affects deployments that meet all of the following conditions:

  • ES|QL federation is enabled.
  • The attacker has data-source management privileges.

Solutions and Mitigations:

The issue is resolved in version 9.5.6.

After upgrading, data sources using non-AWS endpoints require an operator to add the trusted host to esql.external.allowed_endpoint_hosts. This is a node setting and requires a restart; until configured, affected custom-endpoint data sources stop serving reads.

For Users that Cannot Upgrade:

Leave esql.federation.enabled disabled. Where federation is enabled, review the endpoint and sts_endpoint settings of existing S3 data sources and restrict data-source management privileges to trusted administrators.

Severity: CVSSv3.1: Medium ( 6.8 ) - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVE ID: CVE-2026-133935
Problem Type: CWE-918 - Server-Side Request Forgery (SSRF)