p PatchFirst

CVE-2025-54941

CVE-2025-54941 · Apache Airflow: Command injection in "example_dag_decorator"

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.6 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • apache airflow

    Versions
    • ≥ 3.0.0, < < 3.0.5: Affected (semver)

    No fix published

  • apache-airflow PyPI

    Versions
    • 3.0.0
    • 3.0.1
    • 3.0.1rc1
    • 3.0.2
    • 3.0.2rc1
    • 3.0.2rc2
    • 3.0.3
    • 3.0.3rc1
    • 3.0.3rc2
    • 3.0.3rc3
    • 3.0.3rc4
    • 3.0.3rc5
    • 3.0.3rc6
    • 3.0.4
    • 3.0.4rc1
    • 3.0.4rc2
    • 3.0.5rc1
    • 3.0.5rc2
    • 3.0.5rc3
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 3.0.5

    Update to 3.0.5

Original sources

Check your server →