CVE-2026-41018

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

Published May 11, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g3jr-4jrm-jvqv Apache Airflow Providers Elasticsearch: Elasticsearch task-log handlers leak credentials embedded in the host URL
History
Type Values Removed Values Added
First Time appeared Apache apache-airflow-providers-elasticsearch
CPEs cpe:2.3:a:apache:apache-airflow-providers-elasticsearch:*:*:*:*:*:*:*:*
Vendors & Products Apache apache-airflow-providers-elasticsearch
Type Values Removed Values Added
First Time appeared Apache
Apache airflow Providers Elasticsearch
Vendors & Products Apache
Apache airflow Providers Elasticsearch
Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL
Weaknesses CWE-532
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 11, 2026, 12:59 PM
Reserved
Apr 16, 2026, 3:09 AM
Status
Analyzed
Published
May 11, 2026, 9:16 AM
Modified
Oct 26, 2026, 6:10 PM