Description
Apache Airflow Apache Kafka provider versions 1.15.0 before 2.0.0 resolve dotted-path strings found in a Kafka connection's `extra` field into Python callables via `import_string`, with no allowlist, and hand them to the confluent-kafka client which invokes them. Deployments that have enabled the Kafka event producer — `dag_run_events_enabled` or `task_instance_events_enabled`, both disabled by default — build that client inside the scheduler process, so a user whose only privilege is editing Airflow connections gains arbitrary code execution in the control plane; the Airflow security model limits connection-configuration users to code execution on workers, not the scheduler. Deployments using Google Managed Kafka are not affected, because that code path overwrites any user-supplied `oauth_cb`; plain brokers and Amazon MSK are exposed. Users are recommended to upgrade to apache-airflow-providers-apache-kafka 2.0.0 or later, which adds an allowlist configuration option for connection-string callbacks.
Published: 2026-09-16
Score: 8.8 High
EPSS: 1.2% Low
KEV: No
Impact: Arbitrary Code Execution in Scheduler
Action: Immediate Patch
AI Analysis

Impact

A flaw in the Apache Airflow Apache Kafka provider allows a user with permission to edit Airflow connections to resolve dotted‑path strings in a Kafka connection’s ‘extra’ field into Python callables via import_string, without an allowlist. The resulting callables are passed to the confluent‑kafka client library, which executes them in the scheduler process. The flaw enables arbitrary code execution in the Airflow control plane, a privilege that normally belongs only to downstream workers.

Affected Systems

The vulnerability affects Apache Airflow Apache Kafka provider versions 1.15.0 up to, but not including, 2.0.0. Deployments that enable the Kafka event producer (dag_run_events_enabled or task_instance_events_enabled) are at risk; these options are disabled by default. Plain Kafka brokers and Amazon MSK are exposed. Users is recommended to upgrade to apache‑airflow‑providers‑apache‑kafka 2.0.0 or later, which adds an allowlist configuration option for connection‑string callbacks.

Risk and Exploitability

The vulnerability provides a high‑severity attack surface: a malicious actor who can edit connection configurations can run arbitrary code on the scheduler. The CVSS score of 8.8 indicates a high likelihood of critical impact, while the EPSS score of <1% suggests a low probability of exploitation in the immediate future. The weakness is classified as CWE‑470 (Use of Hard‑coded Buffer or Resource). The attack vector is likely based on privileged connection management in Airflow. The vulnerability is not listed in CISA KEV. The available fix is a software update to provider 2.0.0 or later, which introduces an allowlist for callbacks.

Generated by OpenCVE AI on September 18, 2026 at 11:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade apache-airflow-providers-apache-kafka to version 2.0.0 or later to enable the allowlist configuration for connection callbacks.
  • Disable the Kafka event producer options (dag_run_events_enabled and task_instance_events_enabled) if they are not required for your deployment.
  • Restrict the ability to edit Airflow connections to a minimal set of trusted users, and monitor such edits for anomalous patterns.

Generated by OpenCVE AI on September 18, 2026 at 11:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache apache-airflow-providers-apache-kafka
CPEs cpe:2.3:a:apache:apache-airflow-providers-apache-kafka:*:*:*:*:*:*:*:*
Vendors & Products Apache apache-airflow-providers-apache-kafka

Thu, 17 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow Apache Kafka Provider
Vendors & Products Apache
Apache airflow Apache Kafka Provider

Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 16 Sep 2026 15:00:00 +0000


Wed, 16 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
References

Wed, 16 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Description Apache Airflow Apache Kafka provider versions 1.15.0 before 2.0.0 resolve dotted-path strings found in a Kafka connection's `extra` field into Python callables via `import_string`, with no allowlist, and hand them to the confluent-kafka client which invokes them. Deployments that have enabled the Kafka event producer — `dag_run_events_enabled` or `task_instance_events_enabled`, both disabled by default — build that client inside the scheduler process, so a user whose only privilege is editing Airflow connections gains arbitrary code execution in the control plane; the Airflow security model limits connection-configuration users to code execution on workers, not the scheduler. Deployments using Google Managed Kafka are not affected, because that code path overwrites any user-supplied `oauth_cb`; plain brokers and Amazon MSK are exposed. Users are recommended to upgrade to apache-airflow-providers-apache-kafka 2.0.0 or later, which adds an allowlist configuration option for connection-string callbacks.
Title Apache Airflow Apache Kafka provider: Connection-editor remote code execution on the Scheduler via Kafka connection callback configuration
Weaknesses CWE-470
References

Subscriptions

Apache Airflow Apache Kafka Provider Apache-airflow-providers-apache-kafka
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-17T19:39:11.786Z

Reserved: 2026-09-08T11:54:21.118Z

Link: CVE-2026-86792

cve-icon Vulnrichment

Updated: 2026-09-17T19:39:08.895Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-16T10:16:55.060

Modified: 2026-09-18T14:30:06.090

Link: CVE-2026-86792

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-18T11:45:07Z

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')