CVE-2026-49296: apache-airflow DAG source authorization bypass exposes co-located DAG source
(updated )
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.
References
- github.com/advisories/GHSA-4fh7-7jx4-8f6c
- github.com/apache/airflow/commit/992e602015b5e9a3fd297e18047cff9d85094c95
- github.com/apache/airflow/pull/67662
- github.com/apache/airflow/releases/tag/3.3.0
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2083.yaml
- lists.apache.org/thread/qqv41t3oydkn9o14r2rfz1wkdrsp5jzn
- nvd.nist.gov/vuln/detail/CVE-2026-49296
Code Behaviors & Features
Detect and mitigate CVE-2026-49296 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →