What’s Vulnerable › Vulnerabilities
CVE-2026-41018: Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-11 · updated 2026-10-26
- Weakness: CWE-532
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
- Apache Software Foundation Apache Airflow Providers Elasticsearch: before 6.5.3 — fixed in 6.5.3
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Airflow Providers Elasticsearch 6.5.3. Check the vendor advisory for mitigations.
References
- https://github.com/apache/airflow/pull/65349
- https://lists.apache.org/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7
- http://www.openwall.com/lists/oss-security/2026/05/10/3
Get alerted when CVE-2026-41018 or the next vulnerability affects your stack