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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.19% (percentile 68, 2026-11-26)
- **CWE:** CWE-470
- **Aliases:** PYSEC-2026-3986
- **Published:** 2026-09-16T09:08:20.184Z
- **Modified:** 2026-09-19T23:00:02.763Z

## Who should check

- Projects that depend on PyPI package apache-airflow-providers-apache-kafka (\>= 1.15.0, \< 2.0.0)
- Anyone running Apache Software Foundation Apache Airflow Apache Kafka provider \>= 1.15.0, \< 2.0.0

## 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 and fixed versions

- PyPI `apache-airflow-providers-apache-kafka`: affected \>= 1.15.0, \< 2.0.0; fixed 2.0.0 (osv)
- Apache Software Foundation Apache Airflow Apache Kafka provider: \>= 1.15.0, \< 2.0.0 (cvelist)

## Mitigation

- Upgrade apache-airflow-providers-apache-kafka to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-86792. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-86792.md
Affected: apache-airflow-providers-apache-kafka >= 1.15.0, < 2.0.0
Fixed in: 2.0.0

Steps:
1. Search this machine and project for apache-airflow-providers-apache-kafka (PyPI), Apache Software Foundation Apache Airflow Apache Kafka provider: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-86792 being exploited?

There is no confirmed exploitation: CVE-2026-86792 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-86792?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-86792?

apache-airflow-providers-apache-kafka \>= 1.15.0, \< 2.0.0.

### Is there a fix for CVE-2026-86792?

Yes. Fixed in 2.0.0. Upgrade apache-airflow-providers-apache-kafka to 2.0.0 or later.

### How do I check if I'm affected by CVE-2026-86792?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2?users@airflow.apache.org>
- vendor: <https://lists.apache.org/thread/jl4gpok02313yh3rvtvj8qbo11c6zpr2>
- vendor: <http://www.openwall.com/lists/oss-security/2026/09/15/15>
- patch: <https://github.com/apache/airflow/pull/72208>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-86792>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3986> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-86792> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-86792>
