Apache Airflow Providers Elasticsearch: Elasticsearch task-log handlers leak credentials embedded in the host URL
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | apache-airflow-providers-elasticsearch | < 6.5.3 | 6.5.3 |
References
- http://www.openwall.com/lists/oss-security/2026/05/10/3
- https://lists.apache.org/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7
- https://github.com/apache/airflow/pull/65349
- https://github.com/advisories/GHSA-g3jr-4jrm-jvqv
- https://nvd.nist.gov/vuln/detail/CVE-2026-41018
- https://github.com/apache/airflow/commit/f9244064016a8db45277efb0c24808e663b233f3
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-elasticsearch/PYSEC-2026-22.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-532- Platform
- Python (PyPI)
- Package
apache-airflow-providers-elasticsearch- Disclosed
- 11.05.2026
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-22 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g3jr-4jrm-jvqv - CC BY 4.0
Vulnerability history: apache-airflow-providers-elasticsearch
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.