Read the docs
TI-2025-34661 Aliases CVE-2025-54941GHSA-v3c9-j6h9-66v4

Apache Airflow: Command injection in "example_dag_decorator"

Priority LOW 24CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-78.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00492 42nd percentileScored 2026-11-07
Fix Fixed Apache Airflow (Apache Software Foundation): 3.0.5apache-airflow (PyPI): 3.0.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflow3.0.0 to before 3.0.53.0.5Patch availableCNA
—apache-airflow (PyPI)3.0.0 to before 3.0.53.0.5Patch availableGHSA-v3c9-j6h9-66v4
  • Apache Airflow VendorApache Affected 3.0.0 to before 3.0.5 Fixed in 3.0.5 Patch available CNA
  • apache-airflow (PyPI) Vendor— Affected 3.0.0 to before 3.0.5 Fixed in 3.0.5 Patch available GHSA-v3c9-j6h9-66v4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*3.0.0 to before 3.0.5VulnerableApache
  • cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.0.5 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.0.5
  • Fix · GHSA-v3c9-j6h9-66v4 apache-airflow (PyPI) Fixed in 3.0.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54941
  2. 2026-10-03 Alias added: GHSA-v3c9-j6h9-66v4
  3. 2026-11-03 Fix available: [email protected] · CNA

References

  • TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
  • TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
  • TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
  • TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
  • TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
See all 157 →

Sources