HighGHSA-5j6p-jrrm-6x94BIT-airflow-2026-49298CVE-2026-49298PYSEC-2026-2358

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example: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
apache-airflow-core security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.