VDB
Sign up
HIGH7.2

PYSEC-2026-1143

Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration

Quick fix

PYSEC-2026-1143 — apache-airflow-providers-cncf-kubernetes: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow-providers-cncf-kubernetes>=7.0.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow-providers-cncf-kubernetes
Introduced in: 5.0.0Fixed in: 7.0.0
Fixpip install --upgrade 'apache-airflow-providers-cncf-kubernetes>=7.0.0'

References