Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Airflow user account
-
DeliveryAccess task logs interface
-
ExploitLocate task with Elasticsearch log handler
-
ExecutionExtract embedded credentials from logged host URL
-
PersistConnect to Elasticsearch backend
-
ImpactAccess sensitive indexed data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | The vulnerability requires four specific conditions to be exploitable: (1) Apache Airflow Providers Elasticsearch version <6.5.3 must be installed. (2) Credentials must be embedded directly in the |
| Impact | This vulnerability represents a credential exposure risk with moderate-to-low real-world exploitation probability. The CVSS score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects high confidentiality impact (H) but requires low-privilege authenticated access (PR:L), implying an attacker must have an Airflow user account and log-read permissions. The extremely low EPSS score of 0.02% (percentile 4%) suggests that despite credential exposure risk, exploitation is uncommon in practice-likely because most Airflow deployments either: (1) restrict task-log access to privileged administrators, (2) use secret backends instead of embedding credentials in URLs, or (3) operate in air-gapped environments where log data is less broadly accessible. The attack is not complex (AC:L) and requires no user interaction (UI:N), but the authentication and permission prerequisites (PR:L) significantly constrain the attacker pool. No CISA KEV listing or confirmed active exploitation was identified. The vulnerability is real and should be patched, but it is not a critical priority for organizations that already follow the defense-in-depth recommendation of using secret backends for credentials rather than embedding them in configuration URLs. |
| Exploit ScenarioDerived | An attacker with a low-privilege Airflow user account (for example, a data analyst with permission to view task logs) queries task logs after an Elasticsearch-backed task executes. If the Elasticsearch backend is configured with credentials embedded in the host URL and the Elasticsearch search result does not include a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Apache Airflow Elasticsearch provider writes embedded credentials from the [elasticsearch] host configuration URL directly into task logs, allowing any user with task-log read permissions to harvest backend authentication credentials. The vulnerability affects Apache Airflow Providers Elasticsearch versions before 6.5.3 and has been patched by stripping userinfo from the host URL before logging. EPSS exploitation probability is low (0.02%, percentile 4%), indicating limited real-world exploitation despite the sensitive nature of credential exposure.
RemediationAI
Upgrade Apache Airflow Providers Elasticsearch to version 6.5.3 or later. The patched version strips the user:password@ portion from the host URL before it is written to task logs, eliminating credential exposure while preserving authentication functionality. Additionally, as a defense-in-depth measure independent of the patch, configure Elasticsearch backend credentials via Apache Airflow's secret backend (such as environment variables, Kubernetes Secrets, or HashiCorp Vault) rather than embedding them directly in the [elasticsearch] host URL. This approach removes credentials from configuration files and logs entirely and is the recommended long-term practice. Organizations unable to upgrade immediately should restrict task-log read permissions to administrators only and audit existing task logs for credential exposure. The patch is available from the upstream GitHub repository at https://github.com/apache/airflow/pull/65349.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Elasticsearch logging provider in Apache Airflow accepts a host URL in the format https://user:password@server.example.com:9200 via the [elasticsearch] host configuration parameter. This URL is reused as a display label for log-source grouping in task logs. When Elasticsearch search results do not include a host field, the code falls back to using the raw configuration URL as a dictionary key in log output. Because the URL contains embedded credentials, the full user:password@ portion was exposed in plaintext in task logs accessible to any Airflow user with read permissions on task logs. The root cause is CWE-532 (Insertion of Sensitive Information into Log File), combined with insufficient input sanitization when constructing log output. The fix introduces a _strip_userinfo() function that parses the URL and reconstructs it without the username and password components before using it as a log label, while maintaining the full URL for actual Elasticsearch client authentication.
Know when Apache Airflow Providers Elasticsearch gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (apache) · only source for this CVE.
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-29040
GHSA-g3jr-4jrm-jvqv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB