CVE-2026-40913 Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement
HighCVSS 8.2
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi apache-airflow-core(PyPI) | < 3.4.0 | 3.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow-core(PyPI) | < 3.4.0 | 3.4.0 |
References
- github.com patch
- lists.apache.org vendor-advisory
- www.openwall.com
- ENISA EUVD EUVD-2026-119907 third-party-advisory