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.1Fix
pip install --upgrade 'apache-airflow>=3.1.1'References
- https://nvd.nist.gov/vuln/detail/CVE-2025-62402[ADVISORY]
- https://github.com/apache/airflow/pull/56609[WEB]
- https://github.com/apache/airflow/commit/828aaa0b1d95caf90612a648867c17aec7e87874[WEB]
- https://github.com/apache/airflow[PACKAGE]
- https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs[WEB]
- http://www.openwall.com/lists/oss-security/2025/10/29/7[WEB]
- https://pypi.org/project/apache-airflow[PACKAGE]
- https://github.com/advisories/GHSA-273c-4g26-4jpm[ADVISORY]