Skip to content

CVE-2026-86792 Apache Airflow Apache Kafka provider: Connection-editor remote code execution on the Scheduler via Kafka connection callback configuration

HighCVSS 8.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0 2.0.0 Fixed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.15.0; = 1.15.1; = 1.15.1rc1; = 1.15.1rc2 +4 more 2.0.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi apache-airflow-providers-apache-kafka(PyPI) >= 1.15.0, < 2.0.0 2.0.0
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.15.0 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.15.1 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.15.1rc1 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.15.1rc2 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.16.0 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 1.16.0rc1 No fix listed
pypi apache-airflow-providers-apache-kafka(PyPI) = 2.0.0rc1 No fix listed
apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0 2.0.0

References