PyPI: apache-airflow-core

CVE-2026-49298

Safety vulnerability ID: SFTY-20260601-47450

Affected versions of the Apache Airflow package are vulnerable to Information Disclosure due to improper handling of JWT tokens in command-line arguments. The `KubernetesExecutor` passes JWT tokens as command-line arguments to worker pods, making them visible in the pod specification. An authenticated UI/API user with Kubernetes read-only access can exploit this by using `kubectl describe pod` to harvest the JWT and subsequently perform unauthorized actions on the Execution API, such as triggering Dag runs or manipulating Variables and Connections.

Created at: Jul 21, 2026Updated at: Jul 21, 2026

Overview

Apache Airflow: Execution API JWT leaked via KubernetesExecutor worker command-line args

Advisory

apache-airflow-core – Information Disclosure

Affected Package

Affecting apache-airflow-core package, versions< 3.2.2

Also affects

---

How to Fix

Upgradeapache-airflow-coreto3.2.2or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more