CVE-2025-54941
Apache Airflow has a command injection vulnerability in "example_dag_decorator"
4.6
MEDIUM
CVSS 3.1
EPSS 0.16%
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.
How to fix CVE-2025-54941
To remediate CVE-2025-54941, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.5 or later
- —upgrade to 3.0.5 or later
Is CVE-2025-54941 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 3.0.0, < 3.0.5
- >= 3.0.0, < 3.0.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |