ADVISORIES

PyPA Advisory Database

PYSEC-2026-1143

Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration

Details

Arbitrary code execution in Apache Airflow CNCF Kubernetes provider version 5.0.0 allows user to change xcom sidecar image and resources via Airflow connection.

In order to exploit this weakness, a user would already need elevated permissions (Op or Admin) to change the connection object in this manner. Operators should upgrade to provider version 7.0.0 which has removed the vulnerability.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow-providers-cncf-kubernetes
From 5.0.0 before 7.0.0 (fixed in 7.0.0)

References