apache/airflow · Security

Apache Airflow has a command injection vulnerability in "example_dag_decorator"

GHSA ID
GHSA-v3c9-j6h9-66v4
CVE ID
CVE-2025-54941
Severity
medium
Published
Updated
CVSS v4
5.2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

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.

CWEs

References