CVE-2025-54941
Apache Airflow: Command injection in "example_dag_decorator"
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.6
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.
- Record
CVE-2025-54941- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-78
- Updated
- 2026-11-03
CVE List
4.6
Apache Airflow: Command injection in "example_dag_decorator"
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.
- Record
CVE-2025-54941- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-78
- Updated
- 2026-11-03
EUVDEUVD-2025-36993
4.6
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.
- Record
EUVD-2025-36993- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v3c9-j6h9-66v4
5.2
Apache Airflow has a command injection vulnerability in "example_dag_decorator"
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.
- Record
GHSA-v3c9-j6h9-66v4- CVSS 4.0
- 5.2 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
4.6
Apache Airflow: Command injection in "example_dag_decorator"
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.
- Record
CVE-2025-54941- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Weakness
- CWE-78
- Updated
- 2026-11-11
OSVGHSA-v3c9-j6h9-66v4
5.2
Apache Airflow has a command injection vulnerability in "example_dag_decorator"
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.
- Record
GHSA-v3c9-j6h9-66v4- CVSS 4.0
- 5.2 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVPYSEC-2026-1135
5.2
Apache Airflow has a command injection vulnerability in "example_dag_decorator"
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.
- Record
PYSEC-2026-1135- CVSS 4.0
- 5.2 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U - Updated
- 2026-11-02
OSVBIT-airflow-2025-54941 No score
Apache Airflow: Command injection in "example_dag_decorator"
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.
- Record
BIT-airflow-2025-54941- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
apache-airflowPyPI |
3.0.0 up to 3.0.5 | 3.0.5 |
airflowBitnami |
3.0.0 up to 3.0.5 | 3.0.5 |
apache-airflowPyPI |
3.0.0 up to 3.0.5, plus listed versions 3.0.13.0.1rc13.0.23.0.2rc13.0.2rc2 Show 13 moreShow less3.0.33.0.3rc13.0.3rc23.0.3rc33.0.3rc43.0.3rc53.0.3rc63.0.43.0.4rc13.0.4rc23.0.5rc13.0.5rc23.0.5rc3 |
3.0.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | CVE List, EUVD, NVD, OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-54941 is a medium vulnerability (CVSS 4.6) in Apache Airflow, published October 30, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in apache-airflow 3.0.5.
References
lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1
openwall.com/lists/oss-security/2025/10/29/6
nvd.nist.gov/vuln/detail/CVE-2025-54941
github.com/advisories/GHSA-v3c9-j6h9-66v4
pypi.python.org
github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54941.json
github.com/apache/airflow
pypi.org/project/apache-airflow