{"id":"CVE-2026-86792","aliases":["CVE-2026-86792","PYSEC-2026-3986"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow Apache Kafka provider: Connection-editor remote code execution on the Scheduler via Kafka connection callback configuration","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-16T09:08:20.184Z","modified":"2026-09-19T23:00:02.763Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-470"],"affected":[{"ranges":[{"type":"semver","introduced":"1.15.0","fixed":"2.0.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow Apache Kafka provider","package":"apache-airflow-providers-apache-kafka","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.15.0","fixed":"2.0.0"}],"vendor":"apache","product":"apache-airflow-providers-apache-kafka","cpe":"cpe:2.3:a:apache:apache-airflow-providers-apache-kafka:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.15.0","status":"affected","fixed":"2.0.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-apache-kafka","purl":"pkg:pypi/apache-airflow-providers-apache-kafka","source":"pysec"}],"references":[{"url":"https://github.com/apache/airflow/pull/72208","tags":["fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2?users@airflow.apache.org","tags":["advisory","mailing-list","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2","tags":["advisory","mailing-list","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/15/15","tags":["advisory","mailing-list","vendor-advisory"],"sources":["cvelist","nvd","pysec"]}],"credits":["Claude Security Scans","Christos Bisias"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-17T19:38:56.093Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-86792","url":"https://www.cve.org/CVERecord?id=CVE-2026-86792","licence":"CVE Terms of Use","modified":"2026-09-17T19:39:11.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-86792","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86792","licence":"Public domain","modified":"2026-09-18T14:30:06.090Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3986","url":"https://osv.dev/vulnerability/PYSEC-2026-3986","licence":"CC-BY-4.0","modified":"2026-09-19T23:00:02.763Z"}],"updatedAt":"2026-11-25T22:59:38.937Z","epss":{"score":0.01156,"percentile":0.67956,"date":"2026-12-01T12:00:22.000Z"}}