CVE-2026-40913
Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement
Description
Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the `ImportError.can_read` permission when the failing file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when all of its previously registered DAGs are removed but the parse error remains. Users who should not see that file's details can read stack traces that may expose file paths and code. Users are advised to upgrade to Apache Airflow 3.4.0 or later, which restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission.
INFO
Published Date :
Nov. 9, 2026, 10:17 a.m.
Last Modified :
Nov. 9, 2026, 11:17 a.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Upgrade Apache Airflow to version 3.4.0 or later.
- Restrict access to parse-failure stack traces using new permissions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40913.
| URL | Resource |
|---|---|
| https://github.com/apache/airflow/pull/69790 | |
| https://lists.apache.org/thread.html/t04l76dtx12m5cw8zfsnzo9r5rqnw0qv | |
| http://www.openwall.com/lists/oss-security/2026/11/09/3 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40913 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40913
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40913 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40913 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 09, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/11/09/3 -
New CVE Received by [email protected]
Nov. 09, 2026
Action Type Old Value New Value Added Description Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the `ImportError.can_read` permission when the failing file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when all of its previously registered DAGs are removed but the parse error remains. Users who should not see that file's details can read stack traces that may expose file paths and code. Users are advised to upgrade to Apache Airflow 3.4.0 or later, which restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission. Added CWE CWE-285 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/40xxx/CVE-2026-40913.json">CVE-2026-40913</a> Added Reference https://github.com/apache/airflow/pull/69790 Added Reference https://lists.apache.org/thread.html/t04l76dtx12m5cw8zfsnzo9r5rqnw0qv