---
id: CVE-2025-62402
aliases:
  - GHSA-273c-4g26-4jpm
  - BIT-airflow-2025-62402
  - PYSEC-2026-1129
title: Apache Airflow `/api/v2/dagReports` executes DAG Python in API
summary: Apache Airflow `/api/v2/dagReports` executes DAG Python in API
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
vendor: apache-airflow
product: apache-airflow
ecosystem: pip
affected:
  - 'apache-airflow >= 3.0.0, < 3.1.1'
patched:
  - apache-airflow 3.1.1
published: '2025-10-30'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-273c-4g26-4jpm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-62402'
  - url: 'https://github.com/apache/airflow/pull/56609'
  - url: >-
      https://github.com/apache/airflow/commit/828aaa0b1d95caf90612a648867c17aec7e87874
  - url: 'https://github.com/apache/airflow'
  - url: 'https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs'
  - url: 'http://www.openwall.com/lists/oss-security/2025/10/29/7'
tags:
  - osv
  - pip
epss: 0.00487
epssPercentile: 0.39333
ingestedAt: '2026-07-08T18:25:44.158Z'
---

## Overview

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

- `apache-airflow >= 3.0.0, < 3.1.1`

## Remediation

Upgrade to a patched release:

- `apache-airflow 3.1.1`
