Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow-providers-elasticsearch
  4. ›
  5. CVE-2026-41018

CVE-2026-41018: Apache Airflow Providers Elasticsearch: Elasticsearch task-log handlers leak credentials embedded in the host URL

May 11, 2026 (updated June 5, 2026)

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.

References

  • github.com/advisories/GHSA-g3jr-4jrm-jvqv
  • github.com/apache/airflow/commit/f9244064016a8db45277efb0c24808e663b233f3
  • github.com/apache/airflow/pull/65349
  • github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-elasticsearch/PYSEC-2026-22.yaml
  • lists.apache.org/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7
  • nvd.nist.gov/vuln/detail/CVE-2026-41018

Code Behaviors & Features

Detect and mitigate CVE-2026-41018 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.5.3

Fixed versions

  • 6.5.3

Solution

Upgrade to version 6.5.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/apache-airflow-providers-elasticsearch/CVE-2026-41018.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:23 +0000.