CVE-2025-54941
BaseFortify
Publication date: 2025-10-30
Last updated on: 2025-11-04
Assigner: Apache Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | airflow | From 3.0.0 (inc) to 3.0.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves an example DAG called `example_dag_decorator` that had a non-validated parameter. This flaw allowed a user of the UI to redirect the example DAG to a malicious server and execute code on the worker. However, this vulnerability only applies if the example DAGs are enabled in production (which is not the default setting) or if the example DAG code was copied to create a similar DAG.
How can this vulnerability impact me? :
If you use the `example_dag_decorator` and have example DAGs enabled in production or copied the example DAG code, an attacker could exploit this vulnerability to execute arbitrary code on your worker nodes. This could lead to unauthorized control over your system, data compromise, or further attacks within your environment.
What immediate steps should I take to mitigate this vulnerability?
If you use the example_dag_decorator, review your usage of it and apply the changes implemented in Airflow version 3.0.5 accordingly. Also, ensure that example dags are not enabled in production environments, as they are not enabled by default. If you have copied example dag code to build your own similar dag, review and update that code to incorporate the fixes from Airflow 3.0.5.