Apache Airflow UI Exposes DAG Import Errors to Unauthorized Authenticated Users
Medium6.5CVE-2026-24098 · Published Feb 9, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 3.1.7 | 3.1.7 |
Details and references
### Impact **Exposure of Sensitive Information:** An information disclosure vulnerability exists in the Apache Airflow UI that allows authenticated users to view `Import Errors` for DAGs they are not authorized to access. In affected versions, the **Import Errors** view does not correctly filter errors based on granular DAG permissions. This means a user with access to only `DAG_A` can view import errors generated by `DAG_B`, `DAG_C`, or system-level DAGs. These error logs often contain file paths, code snippets, or stack traces that reveal the internal structure and logic of restricted DAGs. ### Patches Users should upgrade to Apache Airflow **3.1.7** or later. This version strictly enforces DAG-level permissions on the Import Errors view. ### Workarounds There are no known workarounds other than upgrading. ### Resources * [CVE-2026-24098](https://nvd.nist.gov/vuln/detail/CVE-2026-24098) * [Pull Request #60801](https://github.com/apache/airflow/pull/60801) * [Mailing List Announcement](https://lists.apache.org/thread/nx96435v77xdst7ls5lk57kqvqyj095x)
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-200
- Also known as
- BIT-airflow-2026-24098, CVE-2026-24098, PYSEC-2026-12
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Feb 9 | Apache Airflow Has an Authorization Bypass That Allows Unauthorized Task Log Access CVE-2026-22922Medium6.5fixed in 3.1.7 | Medium6.5 | 3.1.7 |
| Feb 21 | Apache Airflow error reporting may expose full kwargs CVE-2025-65995Medium6.5fixed in 2.11.1, 3.1.5rc1 | Medium6.5 | 2.11.1, 3.1.5rc1 |
| Feb 24 | Apache Airflow exposes sensitive information in its log files CVE-2025-27555Medium6.5fixed in 2.11.1 | Medium6.5 | 2.11.1 |
| Feb 24 | Apache Airflow vulnerable to Code Injection in the web-server context via LogTemplate table CVE-2024-56373High8.4fixed in 2.11.1 | High8.4 | 2.11.1 |
| Jan 16 | Apache Airflow secrets in rendered templates could contain parts of sensitive values when truncated CVE-2025-68438High7.5fixed in 3.1.6 | High7.5 | 3.1.6 |
| Jan 16 | Apache Airflow proxy credentials for various providers might leak in task logs CVE-2025-68675High7.5fixed in 2.11.1, 3.1.6 | High7.5 | 2.11.1, 3.1.6 |