Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-41018 EUVD-2026-29040GHSA-g3jr-4jrm-jvqvPYSEC-2026-22

Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL

Published May 11, 2026 · Updated May 11, 2026 · Assigned by apache

Description

The Elasticsearch logging provider, when configured with a `host` URL that embeds credentials (for example `https://user:password@server.example.com:9200`), wrote the full host URL — including the embedded credentials — into task logs. Any user with task-log read permission could harvest the backend credentials. Users are advised to upgrade to `apache-airflow-providers-elasticsearch` 6.5.3 or later and, as a defense-in-depth measure, configure the backend credentials via a secret backend rather than embedding them in the `[elasticsearch] host` URL.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Airflow Providers Elasticsearch < 6.5.3 6.5.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS elasticsearch No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.2.1-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-airflow-providers-elasticsearch < 6.5.3 6.5.3 GHSA-g3jr-4jrm-jvqv

Advisories 1

References