PyPA Advisory Database
PYSEC-2026-22
Details
The Elasticsearch logging provider, when configured with a host URL that embeds credentials (for example https://user:[email protected]: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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | apache-airflow-providers-elasticsearch | All versions before 6.5.3 (fixed in 6.5.3) |