Elasticsearch 9.5.7 Security Update (ESA-2026-2p9m-8qh4)

Credential Disclosure in Elasticsearch ES|QL Data-source Audit Logging

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 Versions:

Elasticsearch / ES|QL

  • 9.x: All versions from 9.5.0 up to and including 9.5.6

Affected Configurations:

The vulnerability affects deployments that meet all of the following conditions:

  • ES|QL federation is enabled.
  • Audit logging is enabled; request-body disclosure additionally requires request-body audit logging.

Solutions and Mitigations:

The issue is resolved in version 9.5.7.

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.

For Users that Cannot Upgrade:

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.

Severity: CVSSv3.1: Medium ( 4.4 ) - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVE ID: CVE-2026-133918
Problem Type: CWE-532 - Insertion of Sensitive Information into Log File