Skip to main content

Airflow Kafka Provider EUVDEUVD-2026-80321

| CVE-2026-86792 HIGH
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
8.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as connection-editing user
  2. Delivery
    Edit Kafka connection extra with malicious dotted-path callback
  3. Exploit
    Scheduler builds confluent-kafka client on event publish
  4. Execution
    import_string resolves callback (no allowlist)
  5. Persist
    confluent-kafka invokes callable
  6. Impact
    Arbitrary 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 extra field to set a callback option (e.g. oauth_cb/error_cb/on_commit) to a dotted-path string pointing at attacker-chosen code. When the scheduler builds the confluent-kafka client to publish a DAG-run or task-instance event, import_string resolves and the client invokes that callable, running arbitrary code inside the scheduler process. No public PoC is known, and while the CVSS lists AC:L, the attack only works where the non-default event producer is turned on.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Sep 15, 2026 - 22:15

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

Apache Airflow Apache Kafka provider 1.15.0 <2.0.0

Affected Packages

pypi apache-airflow-providers-apache-kafka fix: 2.0.0
euvd apache_airflow_apache_kafka_provider fix: 2.0.0

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

Vendor (CNA) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Sep 17, 2026 - 20:41 vuln.today
v2 - CVSS changed
CVSS changed
Sep 17, 2026 - 20:22 NVD
8.8 (HIGH)
Patch available
Sep 16, 2026 - 10:02 EUVD
CVE Published
Sep 15, 2026 - 20:04 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
Airflow is widely used, but this is a niche opt-in Kafka provider plus non-default event producer
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2020-13927 CRITICAL POC
9.8 Nov 10

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th

CVE-2020-11978 HIGH POC
8.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2021-38540 CRITICAL POC
9.8 Sep 09

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV

CVE-2022-40127 HIGH POC
8.8 Nov 14

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb

CVE-2022-24288 HIGH POC
8.8 Feb 25

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-17526 HIGH POC
7.7 Dec 21

Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou

CVE-2020-11982 CRITICAL
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-13944 MEDIUM
6.1 Sep 17

In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS

CVE-2022-40189 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

CVE-2022-38649 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy