ADVISORIES

PyPA Advisory Database

PYSEC-2026-2354

Apache Airflow has an Authorization Bypass Through User-Controlled Key

Details

The Event Log detail endpoint GET /api/v2/eventLogs/{event_log_id} in Apache Airflow fetched audit-log rows directly by numeric ID after only the generic Audit Log permission check, while the collection endpoint GET /api/v2/eventLogs applied per-Dag scoping. An authenticated UI/API user with audit-log read permission for one Dag could retrieve audit-log entries for any other Dag by guessing or enumerating the numeric event log ID. Affects deployments that rely on per-Dag audit-log scoping. Users are advised to upgrade to apache-airflow 3.2.2 or later.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow
All versions before 3.2.2 (fixed in 3.2.2)

References