{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133918",
        "assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
        "state": "PUBLISHED",
        "assignerShortName": "elastic",
        "dateReserved": "2026-11-20T16:31:51.433Z",
        "datePublished": "2026-11-23T20:55:13.659Z",
        "dateUpdated": "2026-11-23T20:55:13.659Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
                "shortName": "elastic",
                "dateUpdated": "2026-11-23T20:55:13.659Z"
            },
            "datePublic": "2026-11-23T19:51:38.000Z",
            "title": "Credential Disclosure in Elasticsearch ES|QL Data-source Audit Logging",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Elasticsearch ES|QL data-source and dataset registration can write storage credentials or pre-signed URL signatures to the audit log in plaintext. In affected versions, request definitions are not appropriately filtered before request-body or URL-query auditing. An attacker with access to these logs can obtain credentials for the customer's external storage. The issue affects deployments with ES|QL federation enabled and audit logging configured to record the affected request information.",
                    "supportingMedia": [
                        {
                            "type": "text/markdown",
                            "base64": false,
                            "value": "Elasticsearch ES|QL data-source and dataset registration can write storage credentials or pre-signed URL signatures to the audit log in plaintext. In affected versions, request definitions are not appropriately filtered before request-body or URL-query auditing. An attacker with access to these logs can obtain credentials for the customer's external storage. The issue affects deployments with ES|QL federation enabled and audit logging configured to record the affected request information."
                        }
                    ]
                }
            ],
            "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.6"
                        }
                    ]
                }
            ],
            "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.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Insertion of Sensitive Information into Log File",
                            "cweId": "CWE-532",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                        "baseScore": 4.4,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "All of the following conditions must hold:\n- ES|QL federation is enabled.\n- Audit logging is enabled; request-body disclosure additionally requires request-body audit logging."
                }
            ],
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Disable ES|QL federation and keep esql.federation.enabled disabled until the fixed version is installed. If federation was enabled together with affected audit logging, rotate the data-source credentials and review access to retained audit logs."
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade Elasticsearch / ES|QL versions 9.5.0 through 9.5.6 to 9.5.7."
                },
                {
                    "lang": "en",
                    "value": "Rotate data-source credentials that may have been written to audit logs and review access to retained copies. Do not submit credentials in URL query parameters."
                }
            ],
            "references": [
                {
                    "url": "https://discuss.elastic.co/t/391833",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ]
        }
    }
}