Apache Airflow Providers Elasticsearch: Elasticsearch task-log handlers leak credentials embedded in the host URL
Moderate severity
GitHub Reviewed
Published
May 11, 2026
to the GitHub Advisory Database
•
Updated May 15, 2026
Package
Affected versions
< 6.5.3
Patched versions
6.5.3
Description
Published by the National Vulnerability Database
May 11, 2026
Published to the GitHub Advisory Database
May 11, 2026
Reviewed
May 15, 2026
Last updated
May 15, 2026
The Elasticsearch logging provider, when configured with a
hostURL that embeds credentials (for examplehttps://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 toapache-airflow-providers-elasticsearch6.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] hostURL.References