Advisory

GHSA-v3c9-j6h9-66v4

Also known as: BIT-airflow-2025-54941, CVE-2025-54941, PYSEC-2026-1135

Summary

Apache Airflow has a command injection vulnerability in "example_dag_decorator"

Details

An example dag example_dag_decorator had non-validated parameter that allowed the UI user to redirect the example to a malicious server and execute code on worker. This however required that the example dags are enabled in production (not default) or the example dag code copied to build your own similar dag. If you used the example_dag_decorator please review it and apply the changes implemented in Airflow 3.0.5 accordingly.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-30 12:31 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.0.5 (ecosystem)

Fixed versions

3.0.5

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences