---
id: CVE-2026-133935
title: >-
  Unconstrained S3 endpoint settings in Elasticsearch ES|QL data sources can
  cause requests containing storage credentials to be sent to an
  attacker-controlled host
summary: >-
  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 endp…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-918
vendor: Elastic
product: Elasticsearch
affected:
  - Elasticsearch >= 9.5.0 <= 9.5.5
published: '2026-11-23'
updated: '2026-11-24'
sourceUpdated: '2026-11-24T20:18:50.330'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-133935'
references:
  - url: 'https://discuss.elastic.co/t/391835'
    label: security@elastic.co
tags:
  - nvd
  - cve.org
ingestedAt: '2026-11-23T21:36:56.831Z'
epss: 0.00377
epssPercentile: 0.23594
---

## Overview

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

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
