---
id: CVE-2026-86792
title: >-
  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 …
summary: >-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-470
vendor: apache
product: apache-airflow-providers-apache-kafka
affected:
  - 'apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0'
patched:
  - apache-airflow-providers-apache-kafka 2.0.0
published: '2026-09-16'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T14:30:06.090'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86792'
references:
  - url: 'https://github.com/apache/airflow/pull/72208'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2'
    label: security@apache.org
  - url: >-
      https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2?users@airflow.apache.org
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/09/15/15'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
  - osv
  - pip
epss: 0.01189
epssPercentile: 0.66602
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-17T19:38:56.093836Z'
ingestedAt: '2026-09-16T09:53:11.605Z'
aliases:
  - PYSEC-2026-3986
ecosystem: pip
---

## Overview

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

- `apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0`

## Remediation

Upgrade past the affected range:

- `apache-airflow-providers-apache-kafka 2.0.0`

## Package advisory (CVE-2026-86792)

Affected packages:

- `apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0`

Patched in:

- `apache-airflow-providers-apache-kafka 2.0.0`

Source: https://osv.dev/vulnerability/PYSEC-2026-3986
