CVE-2026-49298: Apache Airflow: JWT Token Exposure in KubernetesExecutor Command-Line Arguments
A bug in Apache Airflow's KubernetesExecutor caused JWT tokens used by worker pods to authenticate against the Execution API to be passed to the worker container as command-line arguments visible in the pod spec. An authenticated UI/API user with Kubernetes read-only access to the cluster (e.g. pods/get in the Airflow namespace) could harvest the JWT from kubectl describe pod output and then call state-mutating Execution API endpoints — triggering Dag runs, clearing runs, reading or writing Variables / Connections / XComs — as if they were a running task. Affects deployments using the KubernetesExecutor. Users are advised to upgrade to apache-airflow 3.2.2 or later. This is the airflow-core half of the same vulnerability addressed by CVE-2026-27173, which shipped the apache-airflow-providers-cncf-kubernetes side of the fix. Deployments that already upgraded apache-airflow-providers-cncf-kubernetes to 10.17.0 or later per the CVE-2026-27173 advisory should additionally upgrade apache-airflow to 3.2.2 or later to close the core-side surface — the two fixes are complementary, not duplicates.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.2.2 - Compensating control
Restrict Kubernetes read-only access in the cluster (e.g., users who can run `pods/get` / view `kubectl describe pod` output in the Airflow namespace), since it could be used to harvest JWT tokens exposed by the KubernetesExecutor and then call state-mutating Execution API endpoints.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49298?
CVE-2026-49298 has a severity rating of high with a CVSS score of 8.8.
How do I fix CVE-2026-49298?
To fix CVE-2026-49298, apply the available patch provided by Apache Airflow.
What does CVE-2026-49298 expose?
CVE-2026-49298 exposes JWT tokens used by worker pods in KubernetesExecutor command-line arguments.
Who is affected by CVE-2026-49298?
CVE-2026-49298 affects authenticated users with Kubernetes read-only access, allowing them to see sensitive tokens.
What version of Apache Airflow is affected by CVE-2026-49298?
CVE-2026-49298 affects specific versions of Apache Airflow that utilize KubernetesExecutor.