{"id":"CVE-2026-41018","aliases":["CVE-2026-41018","GHSA-g3jr-4jrm-jvqv","PYSEC-2026-22"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow Providers Elasticsearch: Elasticsearch task-log handler leaks credentials embedded in the host URL","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El proveedor de registro de Elasticsearch, cuando se configuraba con una URL de ’host’ que incrusta credenciales (por ejemplo, ’https://user:password@servidor.example.com:9200’), escribía la URL completa del ’host’ -incluyendo las credenciales incrustadas- en los registros de tareas. Cualquier usuario con permiso de lectura de registros de tareas podía recolectar las credenciales del backend. Se aconseja a los usuarios actualizar a ’apache-airflow-providers-elasticsearch’ 6.5.3 o posterior y, como medida de defensa en profundidad, configurar las credenciales del backend a través de un backend de secretos en lugar de incrustarlas en la URL de ’[elasticsearch] host’.","source":"nvd"}],"published":"2026-05-11T08:21:47.722Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"6.5.3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow Providers Elasticsearch","package":"apache-airflow-providers-elasticsearch","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.3"}],"ecosystem":"PyPI","package":"apache-airflow-providers-elasticsearch","purl":"pkg:pypi/apache-airflow-providers-elasticsearch","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.5.3"}],"vendor":"apache","product":"apache-airflow-providers-elasticsearch","cpe":"cpe:2.3:a:apache:apache-airflow-providers-elasticsearch:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.3"}],"ecosystem":"PyPI","package":"apache-airflow-providers-elasticsearch","purl":"pkg:pypi/apache-airflow-providers-elasticsearch","source":"pysec"}],"references":[{"url":"https://github.com/apache/airflow/pull/65349","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.apache.org/thread/wz5l58drprmwlv6jxnq466x24jqbbhp7","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/10/3","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41018","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/f9244064016a8db45277efb0c24808e663b233f3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-elasticsearch/PYSEC-2026-22.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g3jr-4jrm-jvqv","tags":["advisory"],"sources":["pysec"]}],"credits":["Aleksandr Sozinov","Jarek Potiuk"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-11T12:59:35.405Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41018","url":"https://www.cve.org/CVERecord?id=CVE-2026-41018","licence":"CVE Terms of Use","modified":"2026-05-11T12:59:39.211Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g3jr-4jrm-jvqv","url":"https://github.com/advisories/GHSA-g3jr-4jrm-jvqv","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41018","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41018","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-22","url":"https://osv.dev/vulnerability/PYSEC-2026-22","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:05.499Z"}],"updatedAt":"2026-11-25T22:59:21.188Z","epss":{"score":0.00395,"percentile":0.35843,"date":"2026-12-01T12:00:22.000Z"}}