CVE-2024-56373: Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information

Published Feb 23, 2026
·
Updated

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 Software

4 affected componentsFixes available
Apache Airflow<2.11.1
Apache Airflow>=3.0.0
Apache Airflow<2.11.1
pip/apache-airflow<2.11.1
2.11.1

Event History

Feb 24, 2026
CVE Published
via MITRE·10:06 AM
Data Sourced
via MITRE·10:06 AM
DescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:31 PM
Data Sourced
via GitHub·12:31 PM
DescriptionSeverityWeaknessAffected Software
Dec 26, 58123
Event
via GitHub·11:38 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-56373?

CVE-2024-56373 has a high severity as it allows for arbitrary code execution through Server-Side Template Injection.

2

How do I fix CVE-2024-56373?

To fix CVE-2024-56373, upgrade Apache Airflow to version 2.11.1 or greater.

3

Who is affected by CVE-2024-56373?

Users of Apache Airflow versions prior to 2.11.1 and from 3.0.0 onwards are affected by CVE-2024-56373.

4

What kind of attack does CVE-2024-56373 enable?

CVE-2024-56373 enables an attacker to execute arbitrary code within the Airflow web-server context.

5

What should I do if I cannot upgrade to mitigate CVE-2024-56373?

If you cannot upgrade, limit the permissions of DAG authors and implement strong access controls to reduce the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203