ADVISORIES

GitHub Advisory Database

GHSA-5g2w-9f8g-g5q7

Apache Airflow UI Exposes DAG Import Errors to Unauthorized Authenticated Users

Details

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

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow
All versions before 3.1.7 (fixed in 3.1.7)

References