Advisory

PYSEC-2026-22

Also known as: CVE-2026-41018, GHSA-g3jr-4jrm-jvqv

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-05-11 09:16 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

apache-airflow-providers-elasticsearch

PyPI · All systems

Affected

  • introduced 0, fixed 6.5.3 (ecosystem)

Fixed versions

6.5.3

Fix

  • Fixed version 6.5.3
    pip install --upgrade apache-airflow-providers-elasticsearch==6.5.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences