Apache Airflow: Assigning single DAG permission leaked all DAGs Import Errors
Description
Apache Airflow versions 3.0.0 - 3.1.7, has vulnerability that allows authenticated UI users with permission to one or more specific Dags to view import errors generated by other Dags they did not have access to.
Users are advised to upgrade to 3.1.7 or later, which resolves this issue
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Authenticated Airflow UI users with single-DAG permission can view import errors from DAGs they cannot access.
Vulnerability
Overview
CVE-2026-24098 is an information disclosure vulnerability in Apache Airflow versions 3.0.0 through 3.1.7. The root cause lies in a missing or incorrect permission check in the API endpoints that serve import errors [2][4]. When a user has permission to view one or more specific DAGs, the system does not properly filter import errors generated by other DAGs, allowing the user to see those errors even though they lack explicit access to those DAGs [3][4].
Exploitation
Context
An attacker must be an authenticated UI user with at least read permission on one DAG [3][4]. The attack is performed through the normal web interface or API, without requiring any special privileges beyond those granted to a typical user with limited DAG access. The vulnerability is exploitable in the default configuration and does not require any additional authentication bypass [2].
Impact
A successful attacker can view the content of import errors from DAGs they are not authorized to access [3]. Import errors may contain sensitive information such as file paths, database connection strings, source code snippets, or internal network details, depending on the DAG definition. This leakage violates the principle of least privilege and could aid in further attacks against the Airflow environment [1][2].
Mitigation
Apache has fixed the issue in Airflow 3.1.7 [2][4]. Users are strongly advised to upgrade to version 3.1.7 or later [3]. The fix corrects the permission check in the import error API, ensuring that only import errors for DAGs the current user has access to are returned [2]. No workaround is available for older versions.
- GitHub - apache/airflow: Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
- Fix permissions check in import error APIs by vincbeck · Pull Request #60801 · apache/airflow
- NVD - CVE-2026-24098
- security - CVE-2026-24098: Apache Airflow: Assigning single DAG permission leaked all DAGs Import Errors
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
apache-airflowPyPI | < 3.1.7 | 3.1.7 |
Affected products
2- Apache Software Foundation/Apache Airflowv5Range: 3.0.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/apache/airflow/pull/60801ghsapatchWEB
- github.com/advisories/GHSA-5g2w-9f8g-g5q7ghsaADVISORY
- lists.apache.org/thread/nx96435v77xdst7ls5lk57kqvqyj095xghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-24098ghsaADVISORY
- www.openwall.com/lists/oss-security/2026/02/09/3ghsaWEB
News mentions
0No linked articles in our index yet.