8.8high
Apache Airflow: JWT Token Exposure in KubernetesExecutor Command-Line Arguments
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-5j6p-jrrm-6x94BIT-AIRFLOW-2026-49298PYSEC-2026-2358
Description
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](https://www.cve.org/CVERecord?id=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
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow | before 3.0.0 | CVE List |
| apache-airflow-core | from 3.0.0 before 3.2.2 | CVE List |
| apache-airflow-core (PyPI) | before 3.2.2 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 3.2.2 | NVD |
| airflow (Bitnami) | before 3.2.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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](https://www.cve.org/CVERecord?id=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.
NVD (es)
Un error en el KubernetesExecutor de Apache Airflow causó que los tokens JWT utilizados por los pods de trabajador para autenticarse contra la API de Ejecución se pasaran al contenedor de trabajador como argumentos de línea de comandos visibles en la especificación del pod. Un usuario autenticado de UI/API con acceso de solo lectura a Kubernetes en el clúster (por ejemplo, 'pods/get' en el espacio de nombres de Airflow) podría recolectar el JWT de la salida de 'kubectl describe pod' y luego llamar a los puntos finales de la API de Ejecución que mutan el estado - activando ejecuciones de Dag, borrando ejecuciones, leyendo o escribiendo Variables / Conexiones / XComs - como si fueran una tarea en ejecución. Afecta a las implementaciones que utilizan el 'KubernetesExecutor'. Se aconseja a los usuarios que actualicen a 'apache-airflow' 3.2.2 o posterior. Esta es la mitad de airflow-core de la misma vulnerabilidad abordada por [CVE-2026-27173](https://www.cve.org/CVERecord?id=CVE-2026-27173), que envió el lado de apache-airflow-providers-cncf-kubernetes de la solución. Las implementaciones que ya actualizaron 'apache-airflow-providers-cncf-kubernetes' a 10.17.0 o posterior según el aviso de CVE-2026-27173 deberían actualizar adicionalmente 'apache-airflow' a 3.2.2 o posterior para cerrar la superficie del lado del núcleo - las dos soluciones son complementarias, no duplicadas.
References
| https://github.com/apache/airflow/pull/60108 | fix, issue-tracking, patch, web | |
| https://lists.apache.org/thread/wo09vrks8189dzsot39rvrx3vnx102tt | advisory, mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-49298 | advisory, web | |
| https://github.com/apache/airflow/pull | web | |
| https://pypi.org/project/apache-airflow-core | package | |
| https://github.com/advisories/GHSA-5j6p-jrrm-6x94 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49298 changed 2026-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5j6p-jrrm-6x94 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-49298 changed 2026-11-03 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2358 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2026-49298 changed 2026-09-08 | Apache-2.0 |