NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-54941: Apache Airflow has a command injection vulnerability in "example_dag_decorator"

mediumCVSS 4.0 5.2GHSA-v3c9-j6h9-66v4

An example dag exampledagdecorator 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.

Published Oct 30, 2025 · Updated Nov 5, 2025

Affected packages

apache-airflow

Ecosystem
PyPI
Affected
>= 3.0.0, < 3.0.5
Fixed in
3.0.5
Check
pip show apache-airflow

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries