What’s Vulnerable › Vulnerabilities
CVE-2024-56373: Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-24 · updated 2026-06-17
- Weakness: CWE-94
Description
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.
Affected products
- Apache Airflow: before 2.11.1 — fixed in 2.11.1
How to fix
Upgrade to a fixed version: Apache Airflow 2.11.1. Check the vendor advisory for mitigations.
References
- https://github.com/apache/airflow/pull/61880
- https://lists.apache.org/thread/2vrmrhcht6g7cp5yjxpnrk2wtrncm6cy
- http://www.openwall.com/lists/oss-security/2026/02/23/3
Get alerted when CVE-2024-56373 or the next vulnerability affects your stack