RCE in Apache Airflow
CVE-2025-54941
- CVSS v3
- 4.6 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 43.9th percentile
- Published
- 2025-10-30
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 43.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Airflow
- Apache Software Foundation Airflow — versions 3.0.0
Weakness classification (CWE)
References
- lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1 (vendor-advisory, Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/10/29/6