# CVE-2026-133935: Unconstrained S3 Endpoints in Elasticsearch ES|QL Data Sources

Status: published. Published: 2026-11-23. Updated: 2026-11-23.

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.

## Remediation

- 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

- Elastic / Elasticsearch (elastic/elasticsearch): ≥ 9.5.0; ≤ 9.5.5 (affected, semver). Source: CNA: elastic

## Severity and prioritization

- CVSS 3.1: 6.8 (medium); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N; source: CNA: elastic

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-918

## Exploit evidence

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

## References

- https://discuss.elastic.co/t/391835 (CNA: elastic; vendor-advisory)

## Provenance

- CNA: elastic: https://www.cve.org/CVERecord?id=CVE-2026-133935; retrieved 2026-11-23; source updated 2026-11-23

Revision: 343b8fc636f493ef385ad94f6297a6390f8d5772998e8c001d7ee29b3a6c9712

Canonical: https://y2.dev/cve/CVE-2026-133935

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.