RCE in Apache Airflow
CVE-2024-56373
DAG Author (who already has quite a lot of permissions) could manipulate database of Airflow 2 in the way to execute arbitrary code in the web-server context, which they should normally not be able to do, leading to potentially remote code execution in the context of web-server (server-side) as a result of a user viewing historical task information.
The functionality responsible for that (log template history) has been disabled by default in 2.11.1 and users should upgrade to Airflow 3 if they want to continue to use log template history. They can also manually modify historical log file names if they want to see historical logs that were generated before the last log template change.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 69.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Airflow
- Apache Software Foundation Airflow — versions 0
Weakness classification (CWE)
References
- github.com/apache/airflow/pull/61880 (patch, Issue Tracking)
- lists.apache.org/thread/2vrmrhcht6g7cp5yjxpnrk2wtrncm6cy (vendor-advisory, Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/02/23/3 (Mailing List, Third Party Advisory)