---
id: CVE-2025-62402
title: >-
  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.
summary: >-
  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.
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'
cwe:
  - CWE-250
vendor: apache
product: airflow
affected:
  - 'airflow >= 3.0.0, < 3.1.1'
patched:
  - airflow 3.1.1
published: '2025-10-30'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T10:10:00.227'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-62402'
references:
  - url: 'https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/10/29/7'
    label: af854a3a-2127-422b-91ae-364da2661108
  - 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'
tags:
  - nvd
  - osv
  - pip
epss: 0.00522
epssPercentile: 0.44094
aliases:
  - GHSA-273c-4g26-4jpm
  - BIT-airflow-2025-62402
  - PYSEC-2026-1129
ecosystem: pip
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

- `airflow >= 3.0.0, < 3.1.1`

## Remediation

Upgrade past the affected range:

- `airflow 3.1.1`

## Package advisory (CVE-2025-62402)

Affected packages:

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

Patched in:

- `apache-airflow 3.1.1`

Source: https://osv.dev/vulnerability/GHSA-273c-4g26-4jpm
