Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-56373: CWE-94: Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache Airflow

0
High
VulnerabilityCVE-2024-56373cvecve-2024-56373cwe-94
Published: Tue Feb 24 2026 (02/24/2026, 10:06:41 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Airflow

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-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/03/2026, 20:26:36 UTC

Technical Analysis

CVE-2024-56373 is a critical code injection vulnerability classified under CWE-94 affecting Apache Airflow, an open-source platform widely used for orchestrating complex workflows. The flaw allows a DAG author—who already possesses significant permissions within Airflow—to manipulate the Airflow database in a way that enables execution of arbitrary code within the web server context. This is specifically tied to the 'log template history' feature, which processes historical task logs. When a user views these logs, the injected code can execute remotely on the server, potentially compromising the entire Airflow instance. The vulnerability is significant because it escalates the privileges of a DAG author beyond their intended scope, enabling remote code execution (RCE) without requiring additional authentication or user interaction beyond viewing logs. The issue was addressed by disabling the log template history feature by default starting with Airflow version 2.11.1. Users who require this feature are advised to upgrade to Airflow 3, which presumably includes a secure implementation. The vulnerability has a CVSS v3.1 score of 8.4, indicating high severity, with an attack vector of network, low attack complexity, high privileges required, and user interaction needed (viewing logs). No public exploits have been reported yet, but the risk is substantial given the nature of the flaw and the critical role Airflow plays in data pipelines and automation.

Potential Impact

The impact of CVE-2024-56373 is severe for organizations relying on Apache Airflow for workflow orchestration and data pipeline management. Successful exploitation can lead to remote code execution on the Airflow web server, allowing attackers to execute arbitrary commands, potentially leading to full system compromise. This threatens confidentiality by exposing sensitive workflow data and credentials, integrity by allowing modification or deletion of workflows and logs, and availability by enabling denial-of-service or destruction of critical automation processes. Since DAG authors typically have elevated permissions, this vulnerability effectively escalates their privileges to full control over the server environment. Organizations with complex data workflows, especially in sectors like finance, healthcare, and technology, face risks of operational disruption, data breaches, and compliance violations. The vulnerability also poses risks to cloud environments where Airflow is deployed as a managed service or self-hosted, potentially affecting multi-tenant environments.

Mitigation Recommendations

To mitigate CVE-2024-56373, organizations should immediately upgrade Apache Airflow to version 2.11.1 or later, where the vulnerable log template history feature is disabled by default. For users requiring log template history functionality, upgrading to Apache Airflow 3 is strongly recommended, as it includes a secure implementation of this feature. Until upgrades are applied, administrators should disable the log template history feature manually if possible. Additionally, restrict DAG author permissions to the minimum necessary and audit DAG code for suspicious or unauthorized modifications. Implement network segmentation and firewall rules to limit access to the Airflow web server. Regularly monitor logs for unusual activity related to historical task log access. Employ application-layer security controls such as web application firewalls (WAFs) to detect and block suspicious payloads targeting log rendering. Finally, maintain an incident response plan to quickly address any signs of exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2024-12-22T12:06:12.879Z
Cvss Version
null
State
PUBLISHED

Threat ID: 699d7ab4be58cf853bad470e

Added to database: 2/24/2026, 10:17:24 AM

Last enriched: 3/3/2026, 8:26:36 PM

Last updated: 4/10/2026, 8:20:25 PM

Views: 230

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses