PYSEC-2026-1135

Apache Airflow has a command injection vulnerability in "example_dag_decorator"

En bref

Publiée
Mise à jour
CVE
CVE-2025-54941
Alias
BIT-airflow-2025-54941, GHSA-v3c9-j6h9-66v4
CVSS_V4
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.

Paquets affectés

PaquetVersions
PyPI · apache-airflowintroduced 3.0.0, fixed 3.0.5

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database