Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | before 2.11.1 | 2.11.1 | Patch available | CNA |
| — | apache-airflow (PyPI) | before 2.11.1 | 2.11.1 | Patch available | GHSA-r837-hpv7-pc2f |
- Apache Airflow VendorApache Affected before 2.11.1 Fixed in 2.11.1 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected before 2.11.1 Fixed in 2.11.1 Patch available GHSA-r837-hpv7-pc2f
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.11.1
- Fix · GHSA-r837-hpv7-pc2f apache-airflow (PyPI) Fixed in 2.11.1 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 2.11.1
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2025-20375 Apache Airflow: Connection Secrets not masked in UI when Connection are added via Airflow cliPriority LOW 29
Timeline
- 2026-10-02 Threatist record created from CVE-2024-56373
- 2026-10-03 Alias added: GHSA-r837-hpv7-pc2f
References
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2024-56373 · CVE Program
- CVE-2024-56373 · NVD
- FIRST EPSS
- GHSA-r837-hpv7-pc2f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences