GHSA-8wf7-xwcv-w393
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as connection-editing user
-
DeliveryEdit Kafka connection extra with malicious dotted-path callback
-
ExploitScheduler builds confluent-kafka client on event publish
-
Executionimport_string resolves callback (no allowlist)
-
Persistconfluent-kafka invokes callable
-
ImpactArbitrary code execution in scheduler control plane
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Requires ALL of: (1) the Apache Airflow Apache Kafka provider version 1.15.0 through pre-2.0.0 installed; (2) the Kafka event producer explicitly enabled via the dag_run_events_enabled or task_instance_events_enabled setting - both are DISABLED by default, so this is the primary limiting factor; (3) the deployment using a plain Kafka broker or Amazon MSK (Google Managed Kafka is NOT exploitable because that code path overwrites the user-supplied oauth_cb); and (4) the attacker holding at least the Airflow connection-editing privilege (PR:L). No user interaction is needed. The decisive limiter is that event publishing is off by default, greatly narrowing the exposed population despite the network attack vector. |
| Impact | Signals are moderately aligned toward a real but conditional threat. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8 High) reflects authenticated network-reachable RCE, and the description confirms this is genuine arbitrary code execution in the Airflow scheduler (control plane) achievable by a low-privileged user who can only edit connections - a real privilege escalation past Airflow's documented worker-only code-execution boundary. However, EPSS is low (0.45%, 38th percentile), it is NOT in CISA KEV, and no public exploit code is identified, so this is not currently mass-exploited. The one point where signals diverge is exploitability: the CVSS vector uses AC:L, but exploitation is gated by a non-default configuration (the Kafka event producer via dag_run_events_enabled or task_instance_events_enabled, BOTH disabled by default) and excludes Google Managed Kafka deployments - real limiting conditions the base CVSS does not fully capture. Net: a credible, high-impact issue for the subset of Airflow deployments that both use the Kafka provider and have opted into event publishing, but not a broad, wormable, actively-exploited emergency. Patch is available (provider 2.0.0), so prioritize for affected deployments while treating raw 8.8 as an overstatement of real-world reach. |
| Exploit ScenarioDerived | In an Airflow deployment running the Apache Kafka provider (1.15.0-1.x) against a plain broker or Amazon MSK with the Kafka event producer enabled, an attacker holding only the connection-edit privilege modifies a Kafka connection's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 17, 2026
Arbitrary code execution in the control plane of Apache Airflow deployments using the Apache Kafka provider 1.15.0 up to but not including 2.0.0: an authenticated user who can edit Airflow connections (PR:L) can plant a dotted-path string in a Kafka connection's extra field that the provider resolves into a Python callable via import_string without any allowlist, and confluent-kafka then invokes it inside the scheduler process. Exploitation is conditional and the limiting factors are substantial: the Kafka event producer must be explicitly enabled through dag_run_events_enabled or task_instance_events_enabled (both disabled by default), and the broker must be a plain Kafka cluster or Amazon MSK, since Google Managed Kafka overwrites the user-supplied oauth_cb and is unaffected. This breaks the Airflow security model because connection-configuration users are only supposed to reach code execution on workers, not the scheduler, and EPSS is low at 0.45% (38th percentile) with no public exploit identified at time of analysis; the assessed vector uses AC:H to reflect the required preconditions.
Earlier versions of this analysis (1)
Remote code execution inside the Apache Airflow scheduler is possible through the Apache Kafka provider (apache-airflow-providers-apache-kafka) 1.15.0 to before 2.0.0, which resolves dotted-path strings from a Kafka connection's extra field into Python callables via import_string with no allowlist and hands them to the confluent-kafka client. An authenticated user whose only privilege is editing Airflow connections can thereby execute arbitrary code in the control plane when the non-default Kafka event producer (dag_run_events_enabled or task_instance_events_enabled) is switched on, exceeding the Airflow security model that limits connection-configuration users to code execution on workers. No public exploit code or CISA KEV listing was identified at time of analysis; deployments using Google Managed Kafka are not affected because that code path overwrites any user-supplied oauth_cb, while plain brokers and Amazon MSK are exposed.
RemediationAI
Upgrade to apache-airflow-providers-apache-kafka 2.0.0 or later, which is the vendor-released fix and which replaces implicit import_string resolution with the apache_kafka.callback_allowlist configuration option (empty by default, so string-valued callbacks are refused outright); the upstream change is PR 72208, and the advisory is at lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2. Deployments that cannot patch immediately should first confirm that dag_run_events_enabled and task_instance_events_enabled are left at their defaults of disabled, which removes the scheduler-side exposure entirely but also disables Kafka event publication (a functional trade-off for anyone relying on event-driven DAG triggering); additionally restrict the Airflow RBAC Connection edit permission to a small trusted administrator group, since that privilege is the attacker's precondition, at the cost of slowing routine connector maintenance. Audit existing Kafka connection extras for dotted-path values under error_cb, throttle_cb, stats_cb, log_cb, oauth_cb or on_commit and remove any that are not strictly required, noting that legitimate custom OAuth callbacks on plain brokers or Amazon MSK will stop working once the allowlist is enforced unless each full importable path is explicitly listed. Restrict network reachability of the scheduler and metadata database as a compensating layer, and monitor scheduler logs for import-related exceptions from unexpected modules.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-470, use of externally-controlled input to select classes or code, implemented here as unsafe reflection. Airflow Kafka connections carry a free-form extra JSON field, and the provider historically passed string-valued confluent-kafka callback options (error_cb, throttle_cb, stats_cb, log_cb, oauth_cb, on_commit) through import_string so that operators could name their own callables by dotted path. Because there was no allowlist, any string in that field was imported and handed to the confluent-kafka client, which then invoked it. The severity escalation over a normal worker-side injection comes from where the client is built: when the Kafka event producer is switched on via dag_run_events_enabled or task_instance_events_enabled, the producer is constructed inside the Airflow scheduler, which holds metadata-database credentials and secrets-backend access, so a connection-editing user escalates from data-plane to control-plane code execution. Google Managed Kafka is explicitly out of scope because that authentication code path overwrites any user-supplied oauth_cb, whereas plain brokers and Amazon MSK keep the user value. The upstream fix (PR 72208) removes implicit resolution entirely and adds an apache_kafka.callback_allowlist configuration option, documented as version_added 1.16.0 in the provider config schema, where each entry must be the exact full importable path (module plus attribute) of the callback; the allowlist defaults to empty, which disables string-valued callbacks altogether, and managed authentication such as Amazon MSK IAM or Google Managed Kafka does not rely on it.
Know when Airflow 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:H/A:H
PR:L (connection-edit privilege), C/I/A:H (full RCE in scheduler); AC:H rather than AC:L because exploitation depends on the non-default event producer being enabled and a non-Google-Managed broker.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
Apache Airflow deployments running the Kafka provider 1.15.0 to before 2.0.0 face an authenticated code-execution risk in the scheduler control plane when non-default Kafka event producers are enabled. A user with connection-edit permissions could potentially compromise orchestration and access sensitive data flows, though exploitation requires specific configuration and no public exploit identified at time of analysis. Leadership should prioritize remediation because scheduler compromise could disrupt critical data pipelines and weaken the Airflow security model.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th
An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them
In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
EUVD-2026-80321
NVD
CVE.org
EPSS
VulDB
Exploit-DB