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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-v3c9-j6h9-66v4 Apache Airflow has a command injection vulnerability in "example_dag_decorator"
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 30 Oct 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Thu, 30 Oct 2025 10:00:00 +0000

Type Values Removed Values Added
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.
Title Apache Airflow: Command injection in "example_dag_decorator"
Weaknesses CWE-78
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2025-10-31T03:55:26.331Z

Reserved: 2025-08-01T06:55:04.376Z

Link: CVE-2025-54941

cve-icon Vulnrichment

Updated: 2025-10-30T19:23:25.927Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2025-10-30T10:15:35.530

Modified: 2025-10-30T20:15:39.070

Link: CVE-2025-54941

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-10-30T14:37:13Z