Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
apache-airflowPyPI | < 2.11.1 | 2.11.1 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/airflow-2pkg:apk/chainguard/airflow-core-2pkg:bitnami/airflowpkg:pypi/apache-airflow
< 2.11.1-r0+ 3 more
- (no CPE)range: < 2.11.1-r0
- (no CPE)range: < 2.11.1-r0
- (no CPE)range: < 2.11.1
- (no CPE)range: < 2.11.1
Patches
Vulnerability mechanics
References
5- github.com/apache/airflow/pull/61880ghsapatchWEB
- github.com/advisories/GHSA-r837-hpv7-pc2fghsaADVISORY
- lists.apache.org/thread/2vrmrhcht6g7cp5yjxpnrk2wtrncm6cyghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-56373ghsaADVISORY
- www.openwall.com/lists/oss-security/2026/02/23/3ghsaWEB
News mentions
0No linked articles in our index yet.