CVE-2025-54941 Details
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.
A command injection vulnerability has been identified in the Apache Airflow example DAG named 'example_dag_decorator'. This issue arises from a non-validated parameter that allows a user to redirect the example to a malicious server and execute code on the worker. Exploitation requires that example DAGs are enabled in production, which is not the default setting, or that the example DAG code is copied to create a similar DAG. Affected versions include Apache Airflow versions greater than 3.0.0 and prior to 3.0.5.
Users who have utilized the 'example_dag_decorator' should review it and apply the updates introduced in Apache Airflow version 3.0.5.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/29/6 | CVE | |
| https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1 | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache airflow | >= 3.0.0, < 3.0.5 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 3, 2026 | CVE Modified | [email protected] |
| Nov 3, 2026 | CVE Modified | CVE |
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 4, 2025 | Initial Analysis | [email protected] |
| Oct 30, 2025 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | New CVE Received | [email protected] |