# CVE-2026-41018: Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-11T08:21:47.722Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-g3jr-4jrm-jvqv, PYSEC-2026-22
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- apache-airflow-providers-elasticsearch: before 6.5.3
- apache-airflow-providers-elasticsearch (PyPI): before 6.5.3
- apache apache-airflow-providers-elasticsearch: before 6.5.3

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/apache/airflow/pull/65349> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/05/10/3> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41018> (advisory)
- <https://github.com/apache/airflow/commit/f9244064016a8db45277efb0c24808e663b233f3> (web)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-elasticsearch/PYSEC-2026-22.yaml> (web)
- <https://github.com/advisories/GHSA-g3jr-4jrm-jvqv> (advisory)

## Sources

- CVE List: [CVE-2026-41018](https://www.cve.org/CVERecord?id=CVE-2026-41018), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-g3jr-4jrm-jvqv](https://github.com/advisories/GHSA-g3jr-4jrm-jvqv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41018](https://nvd.nist.gov/vuln/detail/CVE-2026-41018), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-22](https://osv.dev/vulnerability/PYSEC-2026-22), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2026-41018 · Whole record: https://cve.day/CVE-2026-41018.json · Rebuilt by cve.day 2026-11-25T22:59:21.188Z
