CVE-2026-133935Unconstrained 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by elastic, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Elasticsearch: affected: 9.5.0 to 9.5.5
Solution: Upgrade Elasticsearch / ES|QL versions 9.5.0 through 9.5.5 to 9.5.6.
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.
Vendor advisories:
- https://discuss.elastic.co/t/391835 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.