Public vulnerability disclosure

CVE-2026-133935

Unconstrained S3 Endpoints in Elasticsearch ES|QL Data Sources

publishedCWE-918

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.

Technical severity6.8 mediumCVSS 3.1 · CNA: elastic
Published2026-11-23Source updated 2026-11-23
Collected2026-11-231 attributed source

Fixes and workarounds

Fix

Upgrade Elasticsearch / ES|QL versions 9.5.0 through 9.5.5 to 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.

Source: CNA: elastic

Workaround

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.

Source: CNA: elastic

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Elasticsearch
Elastic
elastic/elasticsearch
generic
≥ 9.5.0; ≤ 9.5.5 (affected, semver)
Other versions: unaffected
CNA: elastic

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.8
medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NCNA: elastic

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide