{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133935",
        "assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
        "state": "PUBLISHED",
        "assignerShortName": "elastic",
        "dateReserved": "2026-11-20T16:52:37.255Z",
        "datePublished": "2026-11-23T20:57:45.287Z",
        "dateUpdated": "2026-11-23T20:57:45.287Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
                "shortName": "elastic",
                "dateUpdated": "2026-11-23T20:57:45.287Z"
            },
            "datePublic": "2026-11-23T19:54:04.000Z",
            "title": "Unconstrained S3 Endpoints in Elasticsearch ES|QL Data Sources",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/markdown",
                            "base64": false,
                            "value": "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": [
                {
                    "vendor": "Elastic",
                    "product": "Elasticsearch",
                    "packageURL": "pkg:generic/elastic/elasticsearch",
                    "modules": [
                        "ES|QL"
                    ],
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "9.5.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThanOrEqual": "9.5.5"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "operator": "OR",
                    "negate": false,
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "9.5.0",
                                    "versionEndIncluding": "9.5.5"
                                }
                            ]
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Server-Side Request Forgery (SSRF)",
                            "cweId": "CWE-918",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "All of the following conditions must hold:\n- ES|QL federation is enabled.\n- The attacker has data-source management privileges."
                }
            ],
            "workarounds": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade Elasticsearch / ES|QL versions 9.5.0 through 9.5.5 to 9.5.6."
                },
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "references": [
                {
                    "url": "https://discuss.elastic.co/t/391835",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ]
        }
    }
}