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
The vulnerability arises because JWT tokens for authenticating worker pods against the Execution API are passed as command-line arguments, making them visible in the pod spec. An attacker with read-only Kubernetes access to pods in the Airflow namespace can retrieve these tokens and impersonate running tasks to invoke state-changing API calls such as triggering DAG runs or modifying variables. This issue affects Apache Airflow deployments using the KubernetesExecutor. The fix requires upgrading Apache Airflow to version 3.2.2 or later, which complements the fix for CVE-2026-27173 in the related provider package.
Potential Impact
An attacker with authenticated UI/API access and Kubernetes read-only permissions in the Airflow namespace can harvest JWT tokens from pod specifications and perform unauthorized state-mutating operations on the Execution API. This includes triggering DAG runs, clearing runs, and reading or writing sensitive configuration data such as Variables, Connections, and XComs. The vulnerability compromises confidentiality, integrity, and availability of the Airflow environment.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later to remediate this vulnerability. Deployments that have already upgraded apache-airflow-providers-cncf-kubernetes to 10.17.0 or later per CVE-2026-27173 must also upgrade apache-airflow to 3.2.2 or later to fully close the vulnerability. Patch status is not explicitly stated as 'official-fix' but the advisory strongly recommends upgrading to these versions. No alternative mitigations are provided.
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.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because JWT tokens for authenticating worker pods against the Execution API are passed as command-line arguments, making them visible in the pod spec. An attacker with read-only Kubernetes access to pods in the Airflow namespace can retrieve these tokens and impersonate running tasks to invoke state-changing API calls such as triggering DAG runs or modifying variables. This issue affects Apache Airflow deployments using the KubernetesExecutor. The fix requires upgrading Apache Airflow to version 3.2.2 or later, which complements the fix for CVE-2026-27173 in the related provider package.
Potential Impact
An attacker with authenticated UI/API access and Kubernetes read-only permissions in the Airflow namespace can harvest JWT tokens from pod specifications and perform unauthorized state-mutating operations on the Execution API. This includes triggering DAG runs, clearing runs, and reading or writing sensitive configuration data such as Variables, Connections, and XComs. The vulnerability compromises confidentiality, integrity, and availability of the Airflow environment.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later to remediate this vulnerability. Deployments that have already upgraded apache-airflow-providers-cncf-kubernetes to 10.17.0 or later per CVE-2026-27173 must also upgrade apache-airflow to 3.2.2 or later to fully close the vulnerability. Patch status is not explicitly stated as 'official-fix' but the advisory strongly recommends upgrading to these versions. No alternative mitigations are provided.
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: 06/01/2026, 09:18:49 UTC
Last enriched: 06/08/2026, 20:45:57 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 335
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.