CVE-2026-49296 PUBLISHED

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

Assigner: apache
Reserved: 28.05.2026 Published: 07.07.2026 Updated: 07.07.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache Airflow
Versions Default: unaffected
  • affected from 3.0.0 to 3.3.0 (excl.)

Credits

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

References

Problem Types

  • CWE-639: Authorization Bypass Through User-Controlled Key CWE