medium5.4
CVE-2025-62402
Apache Airflow `/api/v2/dagReports` executes DAG Python in API
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | apache-airflow | >= 3.0.0, < 3.1.1 | 3.1.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Airflow | from 3.0.0 before 3.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs
- http://www.openwall.com/lists/oss-security/2025/10/29/7
- https://github.com/advisories/GHSA-273c-4g26-4jpm
- https://nvd.nist.gov/vuln/detail/CVE-2025-62402
- https://github.com/apache/airflow/pull/56609
- https://github.com/apache/airflow/commit/828aaa0b1d95caf90612a648867c17aec7e87874