CVE-2026-41018
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.
- CVSS 3.1
- 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 35% of CVEs (scores of 2026-10-26)
- CWE
- CWE-532
- Published
- Modified
- Record from
- the NVD, synced
Affected
- apache:apache-airflow-providers-elasticsearch
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g3jr-4jrm-jvqv | PyPI | apache-airflow-providers-elasticsearch | <6.5.3 | 6.5.3 |
| PYSEC-2026-22 | PyPI | apache-airflow-providers-elasticsearch | <6.5.3 | 6.5.3 |