CVE-2026-41018 json
Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL
published 5mo ago modified 14d ago also GHSA-g3jr-4jrm-jvqv , PYSEC-2026-22 , EUVD-2026-29040
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi apache-airflow-providers-elasticsearch 6.5.3
- Apache Software Foundation Apache Airflow Providers Elasticsearch 6.5.3
- github.com/apache/airflow@f924406 commit
- github.com/apache/airflow#65349 pull request
Is CVE-2026-41018 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow-providers-elasticsearch | <6.5.3 |
6.5.3 |
Affected products
- Apache Software Foundation Apache Airflow Providers Elasticsearch
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/apache/airflow/pull/65349
patch, web, issue-tracking
-
github.com
/apache/airflow/commit/f9244064016a8db45277efb0c24808e663b233f3
web
-
lists.apache.org
/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2026/05/10/3
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-41018
advisory
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-elasticsearch/PYSEC-2026-22.yaml
web
-
github.com
/advisories/GHSA-g3jr-4jrm-jvqv
advisory
Sources
- CVE List CVE-2026-41018
- GitHub Advisory GHSA-g3jr-4jrm-jvqv
- NVD CVE-2026-41018
- OSV PYSEC-2026-22
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.