Skip to content
OpenAdvisories
Medium · 4.6 CVE-2025-54941 BIT-airflow-2025-54941EUVD-2025-36993GHSA-v3c9-j6h9-66v4PYSEC-2026-1135

Apache Airflow: Command injection in "example_dag_decorator"

Published Oct 30, 2025 · Updated Nov 3, 2026 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Airflow 3.0.0 – < 3.0.5 3.0.5

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-airflow >= 3.0.0, < 3.0.5 3.0.5 GHSA-v3c9-j6h9-66v4

References