VDB
Sign up
MEDIUM5.4

PYSEC-2026-1129

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

Quick fix

PYSEC-2026-1129 — apache-airflow: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow>=3.1.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow
Introduced in: 3.0.0Fixed in: 3.1.1
Fixpip install --upgrade 'apache-airflow>=3.1.1'

References