CVE-2026-49298: CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory in Apache Software Foundation Apache Airflow
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.
AI Analysis
Technical Summary
Apache Airflow's KubernetesExecutor passes JWT tokens for Execution API authentication as command-line arguments visible in pod specifications. This exposure allows an authenticated user with Kubernetes read-only permissions in the Airflow namespace to retrieve these tokens from pod descriptions and impersonate running tasks by calling state-mutating Execution API endpoints. The vulnerability affects deployments using the KubernetesExecutor and is addressed by upgrading Apache Airflow to version 3.2.2 or later. This fix complements a prior patch for the apache-airflow-providers-cncf-kubernetes package (version 10.17.0 or later). Both updates are necessary to fully mitigate the issue.
Potential Impact
An attacker with authenticated UI/API access and Kubernetes read-only permissions in the Airflow namespace can harvest JWT tokens from pod specs and use them to perform unauthorized state-changing operations on the Execution API. This includes triggering DAG runs, clearing runs, and reading or writing sensitive Airflow components such as Variables, Connections, and XComs. This could lead to unauthorized workflow execution and data manipulation within affected Airflow deployments using KubernetesExecutor.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later to remediate this vulnerability. Additionally, deployments that have already upgraded apache-airflow-providers-cncf-kubernetes to version 10.17.0 or later should ensure Apache Airflow itself is also upgraded to 3.2.2 or later, as both fixes are complementary. Patch status is not explicitly confirmed in the advisory, but the upgrade recommendation indicates an official fix is available. There is no indication that the vulnerability is mitigated by configuration changes alone.
CVE-2026-49298: CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory in Apache Software Foundation Apache Airflow
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache Airflow's KubernetesExecutor passes JWT tokens for Execution API authentication as command-line arguments visible in pod specifications. This exposure allows an authenticated user with Kubernetes read-only permissions in the Airflow namespace to retrieve these tokens from pod descriptions and impersonate running tasks by calling state-mutating Execution API endpoints. The vulnerability affects deployments using the KubernetesExecutor and is addressed by upgrading Apache Airflow to version 3.2.2 or later. This fix complements a prior patch for the apache-airflow-providers-cncf-kubernetes package (version 10.17.0 or later). Both updates are necessary to fully mitigate the issue.
Potential Impact
An attacker with authenticated UI/API access and Kubernetes read-only permissions in the Airflow namespace can harvest JWT tokens from pod specs and use them to perform unauthorized state-changing operations on the Execution API. This includes triggering DAG runs, clearing runs, and reading or writing sensitive Airflow components such as Variables, Connections, and XComs. This could lead to unauthorized workflow execution and data manipulation within affected Airflow deployments using KubernetesExecutor.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later to remediate this vulnerability. Additionally, deployments that have already upgraded apache-airflow-providers-cncf-kubernetes to version 10.17.0 or later should ensure Apache Airflow itself is also upgraded to 3.2.2 or later, as both fixes are complementary. Patch status is not explicitly confirmed in the advisory, but the upgrade recommendation indicates an official fix is available. There is no indication that the vulnerability is mitigated by configuration changes alone.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-05-28T21:14:03.813Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e79e29bf47b50cd4b5b
Added to database: 6/1/2026, 9:18:49 AM
Last enriched: 6/1/2026, 9:34:43 AM
Last updated: 6/2/2026, 4:58:03 AM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.