CVE-2025-54941: apache software foundation apache airflow OS Command Injection
Vulnerability summary
CVE-2025-54941 is a medium (CVSS 4.6) OS Command Injection vulnerability in apache software foundation apache airflow. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 40.8% of scored vulnerabilities.
Timeline
- 30-10-2025PublishedVulnerability first disclosed.
- 26-02-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.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
+0.03 pp
From 0.46% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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