← All security advisories

CVE-2026-49296: Apache Airflow: Per-DAG read bypass discloses co-located DAGs' source via GET /api/v2/dagSources/{dag_id}

Severity Low
Affects Apache Airflow
Weakness CWE-639: Authorization Bypass Through User-Controlled Key
Published July 7, 2026
Record updated November 3, 2026
CVE record CVE-2026-49296 on cve.org

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.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow-core from 3.0.0 before 3.3.0

Credits

  • Matteo Panzeri (Università di Pavia), GitHub @matte1782 (finder)
  • Jarek Potiuk (remediation developer)

References