CVE-2025-54941

published 30 Oct 2025 · updated 3 Nov 2026

Apache Airflow: Command injection in "example_dag_decorator"

4.6MediumCVSS 4.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Airflow 3.0.5 and 3.0.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ApacheAirflow>=3.0.0 <3.0.53.0.5
Apache Software Foundation>=3.0.0 <3.0.53.0.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Airflow, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-54941 severity on Zeptric[![CVE-2025-54941](https://zeptric.io/badge/cve/CVE-2025-54941.svg)](https://zeptric.io/cve/CVE-2025-54941)