CVE-2026-86792
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.16% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
PYSEC-2026-3986

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.

Affected

Product or packageVersionsReported by
apache-airflow-providers-apache-kafkafrom 1.15.0 before 2.0.0CVE List
apache apache-airflow-providers-apache-kafkafrom 1.15.0 before 2.0.0NVD
apache-airflow-providers-apache-kafka (PyPI)from 1.15.0 before 2.0.0PyPA Advisory Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-470

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-86792 changed 2026-09-17CVE Terms of Use
NVDCVE-2026-86792 changed 2026-09-18Public domain
PyPA Advisory DatabasePYSEC-2026-3986 changed 2026-09-19CC-BY-4.0