Advisory

PYSEC-2026-1129

Also known as: BIT-airflow-2025-62402, CVE-2025-62402, GHSA-273c-4g26-4jpm

Summary

Apache Airflow /api/v2/dagReports executes DAG Python in API

Details

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 Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.1.1 (ecosystem)

Fixed versions

3.1.1

Fix

  • Fixed version 3.1.1
    pip install --upgrade apache-airflow==3.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences