Moderate severityNVD Advisory· Published Oct 30, 2025· Updated Feb 26, 2026
Apache Airflow: Command injection in "example_dag_decorator"
CVE-2025-54941
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
apache-airflowPyPI | >= 3.0.0, < 3.0.5 | 3.0.5 |
Affected products
3- osv-coords2 versions
>= 3.0.0, < 3.0.5+ 1 more
- (no CPE)range: >= 3.0.0, < 3.0.5
- (no CPE)range: >= 3.0.0, < 3.0.5
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-v3c9-j6h9-66v4ghsaADVISORY
- lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-54941ghsaADVISORY
- www.openwall.com/lists/oss-security/2025/10/29/6ghsaWEB
News mentions
0No linked articles in our index yet.