CVE-2025-54941
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-30

Last updated on: 2025-11-04

Assigner: Apache Software Foundation

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-30
Last Modified
2025-11-04
Generated
2026-05-07
AI Q&A
2025-10-30
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache airflow From 3.0.0 (inc) to 3.0.5 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart