DEV Community

SorrelThorncroft
SorrelThorncroft

Posted on

Airflow Asset Events Leak DAG Metadata Across User Boundaries

Airflow Asset Events Leak DAG Metadata Across User Boundaries

Apache Airflow CVE-2026-120351 is an incorrect authorization issue in the asset events API. The vendor notice says an authenticated user who can read only some DAGs may see the DAG runs of DAGs they are not allowed to read.

The affected population

Airflow versions 2.4.0 through 3.3.x are affected. The exposure applies only to deployments that restrict users to a subset of DAGs. Airflow 2 has reached end of life and will not receive a fix. Operators should upgrade to Airflow 3.4.0 or later, or isolate the affected API when immediate upgrade is impossible.

The leaked object is DAG-run metadata, not necessarily the DAG definition or task logs. Even so, run identifiers, schedules, state transitions, asset associations, and timing can reveal business processes, operational failures, and relationships between teams. That information is often enough to support lateral investigation or targeted disruption.

Why this is an authorization bug

The API authenticates the caller but applies the wrong object boundary when returning asset events. A user can see rows associated with runs outside their permitted DAG set. The defect is not an unauthenticated endpoint or a remote-code path. It is a failure to join every returned event to the caller's DAG authorization scope.

Remediation and review

Upgrade to a fixed Airflow 3.x release. If the deployment is pinned, disable or restrict the asset events API for users outside a trusted set. Review identity-provider groups and Airflow role mappings, then reduce access where possible.

Search API access logs for asset-event requests from users whose DAG scope should have excluded the returned runs. Compare results with audit logs and look for repeated enumeration from one account or service.

Verification

Create test users with access to different DAG sets, then verify that asset events return only objects in the permitted set. Test pagination, direct identifiers, and filtered requests. Completion means every user sees the same authorization boundary across the UI, API, and background views.

References

Top comments (0)