ADVISORIES

PyPA Advisory Database

PYSEC-2026-1129

Apache Airflow `/api/v2/dagReports` executes DAG Python in API

Details

API users via /api/v2/dagReports could perform Dag code execution in the context of the api-server if the api-server was deployed in the environment where Dag files were available.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow
From 3.0.0 before 3.1.1 (fixed in 3.1.1)

References