CVE-2025-54941: Apache Airflow: Command injection in "example_dag_decorator"
Vulnerability summary
CVE-2025-54941 is a medium (CVSS 4.6) vulnerability in apache software foundation apache airflow. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.
Not severe (CVSS 4.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-10-2025PublishedVulnerability first disclosed.
- 03-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 2 versions- NVDNIST4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Increase +0.12 pp
From 0.49% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- airflow≥ 3.0.0, < 3.0.5
Apache software foundation1 product
- apache airflow≥ 3.0.0, < 3.0.5
PyPI1 product
- apache-airflow≥ 3.0.0, < 3.0.5
3 vendors · 3 products
References
6 links- github.com/apache/airflowPACKAGE