title: Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration
description: 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.
problem types: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
affected:
{
defaultStatus: unaffected
product: Apache Airflow CNCF Kubernetes Provider
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 6.1.0, status: affected, version: 5.0.0, versionType: semver
}
metrics:
other: [
content: {'text': 'low'}
type: Textual description of severity
]