Skip to content
VulniPulse
Advisory severityUnratedApache Software Foundation

Advisory [CVE-2025-54941] Apache Airflow: Command injection in "example_dag_decorator"

This Apache Software Foundation security advisory covers CVE-2025-54941 affecting Apache Airflow.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2025-54941 Source published Source updated

VulniPulse record published Record updated

CVE-2025-54941
Affected products & platforms
Apache Software FoundationAirflow
Open source advisory

Summary

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 product named by the advisory: Apache Airflow.

Is CVE-2025-54941 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2025-54941 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2025-54941?

Upgrade to a fixed release named by Apache:

  • 3.0.5

Confirm against the vendor advisory before you patch.

Affected versions
  • Apache Airflow 3.0.0 before 3.0.5

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Fixed versions
  • 3.0.5

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • If you used the `example_dag_decorator` please review it and apply the changes implemented in Airflow 3.0.5 accordingly.

Official advisory · medium-confidence parse· fetched 7 days ago·verify at source

Get an email when Apache Airflow publishes the next one.

See Apache Airflow's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Apache Airflow
All Apache Software Foundation advisories

iPhone and Android apps · New on the App Store

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.