CVE-2025-62402: Apache Airflow `/api/v2/dagReports` executes DAG Python
Affects apache-airflowSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 3.1.1 when convenient.
Data as of 29 Oct 2026, 23:13 UTC
- Patch
- Available – fixed in 3.1.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade apache-airflow to 3.1.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIapache-airflow | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Apache Airflow to version 3.1.1 or later, where this vulnerability is fixed. Since a patch is available and the issue is resolved in the fixed version, applying the official update is the recommended mitigation.
Description
Apache Airflow versions 3.0.0 up to but not including 3.1.1 contain a vulnerability in the `/api/v2/dagReports` API endpoint that allows API users to execute DAG Python code in the context of the API server if the server has access to DAG files. This could lead to unauthorized code execution. The issue is fixed in version 3.1.1.
References
- nvd.nist.gov/vuln/detail/CVE-2025-62402 (opens in a new tab)
- github.com/apache/airflow/pull/56609 (opens in a new tab)
- github.com/apache/airflow/commit/828aaa0b1d95caf90612a648867c17aec7e87874 (opens in a new tab)
- github.com/apache/airflow (opens in a new tab)
- lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/29/7 (opens in a new tab)