# CVE-2026-40913: Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 3.4.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-09 · Modified: 2026-11-12
- Record: https://cvemate.com/vulnerability/CVE-2026-40913 · JSON: https://cvemate.com/vulnerability/CVE-2026-40913/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- EPSS: 0.438%, percentile 39.784%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache airflow: \< 3.4.0

## References

- <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>

---

Data as of 2026-12-05T03:33:10.565Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
