All reports
Medium

Apache Airflow has a command injection vulnerability in "example_dag_decorator"

Affected versions

Version ranges need review.

Affected versions
>=3.0.0 <3.0.5
Fixed version
3.0.5
Affected versions
>= 3.0.0, < 3.0.5
Fixed version
3.0.5

Exploitation

CVE-2025-54941

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-18

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.

Links