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.
How to fix
- apache airflow3.0.5 or later
- apache-airflow3.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache airflow | 3.0.0 ≤ v < 3.0.5 | 3.0.5 |
| apache-airflowPyPI | 3.0.0 ≤ v < 3.0.5 | 3.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.