CVE-2026-49296: Apache airflow Remote Code Execution Vulnerability
MODERATECVE-2026-49296 is a MODERATE (CVSS 6.5) remote code execution vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Apache airflow libraries in the PyPI ecosystem. The issue involves apache-airflow dag source authorization bypass exposes co-located dag source. Remediation is available by upgrading affected packages to version 3.3.0.
CVE-2026-49296 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-49296
To remediate this vulnerability, upgrade all affected Apache airflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow>=3.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-49296, inspect your installed packages using pip:
pip show apache-airflow
Analyze the terminal output to locate any version of Apache airflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.0), your application is affected.
Note: The pip show apache-airflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Apache airflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-49296 Affected Apache airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
< 3.3.0
|
3.3.0
|
References
Frequently Asked Questions
What is CVE-2026-49296?
Which Apache airflow versions are affected?
What version fixes CVE-2026-49296?
Is apache-airflow affected?
What is the CVSS score of CVE-2026-49296?
What CWE is associated with CVE-2026-49296?
How can I check PyPI dependencies for CVE-2026-49296?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4fh7-7jx4-8f6c",
"modified" : "2026-08-12T19:23:53Z",
"published" : "2026-07-07T12:31:36Z",
"aliases" : [ "CVE-2026-49296" ],
"summary" : "apache-airflow DAG source authorization bypass exposes co-located DAG source",
"details" : "Before apache-airflow 3.3.0, a user authorized to read one Dag could disclose the source of other Dags co-located in the same source file. `GET /api/v2/dagSources/{dag_id}` — and the equivalent Dag-source view in the UI — returned the entire source file without redacting Dags the caller was not authorized to read, bypassing per-DAG read authorization. Deployments that co-locate multiple Dags in a single file and rely on per-DAG access control to limit source visibility are affected; single-Dag-per-file deployments are not. Upgrade to apache-airflow 3.3.0 or later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-49296"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/67662"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/992e602015b5e9a3fd297e18047cff9d85094c95"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/releases/tag/3.3.0"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2083.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/qqv41t3oydkn9o14r2rfz1wkdrsp5jzn"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/07/07/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-12T19:23:53Z",
"nvd_published_at" : "2026-07-07T10:16:41Z"
}
}