Apache Airflow: Execution API JWT leaked via KubernetesExecutor worker command-line args
Published 1 Jun 2026 · Updated 13 Jul 2026
Is your project on an affected apache-airflow-core?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <3.2.2
- Fixed in
- 3.2.2
pip install 'apache-airflow-core>=3.2.2'Details
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.
Is GHSA-5j6p-jrrm-6x94 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected apache-airflow-core, and gives you the command that fixes it.
More advisories for apache-airflow-core
- HighCVE-2026-25917Apache Airflow allows code execution through crafted XCom payloads · 18 Apr 2026
- HighCVE-2026-32228Apache Airflow allows users with asset materialize permissions to trigger DAGs outside of their permissions · 18 Apr 2026
- MediumCVE-2026-30912Apache Airflow exposes SQL stack trace despite "api/expose_stack_traces" set to false · 18 Apr 2026
- LowCVE-2026-32690Apache Airflow Exposes Secrets in Variables Saved as JSON Dictionaries · 18 Apr 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.