Description
Before apache-airflow 3.3.0, a user authorized to read one Dag could disclose the source of other Dags co-located in the same source file. `GET /api/v2/dagSources/{dag_id}` — and the equivalent Dag-source view in the UI — returned the entire source file without redacting Dags the caller was not authorized to read, bypassing per-DAG read authorization. Deployments that co-locate multiple Dags in a single file and rely on per-DAG access control to limit source visibility are affected; single-Dag-per-file deployments are not. Upgrade to apache-airflow 3.3.0 or later.
Problem types
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
3.0.0 (semver) before 3.3.0
Credits
Matteo Panzeri (Università di Pavia), GitHub @matte1782
Jarek Potiuk
References
www.openwall.com/lists/oss-security/2026/07/07/5
github.com/apache/airflow/pull/67662
lists.apache.org/thread/qqv41t3oydkn9o14r2rfz1wkdrsp5jzn