Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting apache-airflow-providers-apache-kafka package, versions [,2.0.0rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.19% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWPROVIDERSAPACHEKAFKA-19865666
  • published16 Sept 2026
  • disclosed16 Sept 2026
  • creditUnknown

Introduced: 16 Sep 2026

NewCVE-2026-86792  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade apache-airflow-providers-apache-kafka to version 2.0.0rc1 or higher.

Overview

apache-airflow-providers-apache-kafka is a Provider package apache-airflow-providers-apache-kafka for Apache Airflow

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in the import_string function. An attacker can execute arbitrary code on the scheduler by supplying a crafted dotted-path string in the Kafka connection's extra field, which is resolved and invoked without restriction when Kafka event producer features are enabled.

Note: This is only exploitable if either dag_run_events_enabled or task_instance_events_enabled is enabled in the deployment configuration, and the deployment is not using Google Managed Kafka.

CVSS Base Scores

version 4.0
version 3.1