CVE-2025-62402: Apache Airflow: Airflow 3 API: /api/v2/dagReports executes DAG Python in API
| Severity | Moderate |
|---|---|
| Affects | Apache Airflow |
| Weakness | CWE-250: Execution with Unnecessary Privileges |
| Published | October 30, 2025 |
| Record updated | November 3, 2026 |
| CVE record | CVE-2025-62402 on cve.org |
Description
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 versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow | apache-airflow-core |
from 3.0.0 before 3.1.1 |
Credits
- kwkr (https://github.com/kwkr) (reporter)
References
- https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs (vendor-advisory)