The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-56373

CVE-2024-56373: Apache Airflow RCE Vulnerability

CVE-2024-56373 is a remote code execution flaw in Apache Airflow that allows DAG authors to execute arbitrary code in the web-server context. This article covers technical details, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2024-56373 Overview

CVE-2024-56373 is a code injection vulnerability in Apache Airflow that allows DAG Authors—users who already possess elevated permissions within the platform—to manipulate the Airflow database in a manner that enables arbitrary code execution within the web-server context. This unauthorized capability can lead to remote code execution (RCE) on the server side when another user views historical task information through the web interface.

The vulnerability specifically targets the log template history functionality in Apache Airflow 2, allowing attackers to abuse the trust placed in DAG Author roles to escalate their access beyond intended boundaries. The attack requires user interaction, as the malicious payload is triggered when a victim user views historical logs.

Critical Impact

DAG Authors can achieve remote code execution in the web-server context by manipulating database entries, potentially compromising the entire Airflow deployment and any connected systems.

Affected Products

  • Apache Airflow versions prior to 2.11.1
  • Apache Airflow 2.x series with log template history enabled
  • Any Airflow deployment where DAG Authors have database manipulation capabilities

Discovery Timeline

  • 2026-02-24 - CVE CVE-2024-56373 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2024-56373

Vulnerability Analysis

This vulnerability falls under CWE-94 (Improper Control of Generation of Code), commonly known as code injection. The flaw exists in how Apache Airflow handles log template history records within its database. A DAG Author, who inherently has significant permissions within the Airflow ecosystem including the ability to define and modify DAGs, can leverage these permissions to inject malicious content into database entries related to log templates.

When a user subsequently accesses historical task information through the Airflow web interface, the manipulated log template data is processed without adequate sanitization, resulting in arbitrary code execution within the web-server process context. This represents a privilege escalation scenario where a DAG Author can execute code with web-server privileges—capabilities they should not possess under normal operational boundaries.

The attack requires a network-accessible Airflow instance and depends on user interaction (viewing historical logs), but can be initiated by any authenticated user with DAG Author privileges. The scope of impact extends beyond the vulnerable component, as successful exploitation compromises the confidentiality, integrity, and availability of the web-server context.

Root Cause

The root cause of CVE-2024-56373 lies in insufficient input validation and sanitization of log template history entries stored in the Airflow database. The application trusts data written by DAG Authors without properly validating that the content conforms to expected formats before rendering it in the web-server context.

The log template history feature allows Airflow to maintain historical records of log configurations, but the implementation failed to account for the possibility that a privileged DAG Author might inject malicious code into these records. When the web-server retrieves and processes these templates to display historical task logs, it inadvertently executes the injected code.

Attack Vector

The attack vector for CVE-2024-56373 involves the following exploitation chain:

  1. An attacker must first have DAG Author privileges within the target Apache Airflow installation
  2. The attacker manipulates the Airflow database to inject malicious code into log template history entries
  3. When a victim user (potentially an administrator or another privileged user) navigates to view historical task information, the web-server processes the manipulated log template
  4. The injected code executes within the web-server context, providing the attacker with server-side code execution capabilities

The vulnerability exploits the trust relationship between the database layer and the web presentation layer. By targeting historical log viewing functionality, attackers can achieve persistent exploitation that triggers whenever historical logs are accessed.

For technical details on the specific code changes addressing this vulnerability, refer to the GitHub Pull Request #61880.

Detection Methods for CVE-2024-56373

Indicators of Compromise

  • Unexpected or malformed entries in the Airflow log template history database tables
  • Unusual database modification activities from DAG Author accounts targeting log-related tables
  • Web-server process spawning unexpected child processes or making unusual network connections
  • Error logs indicating code execution failures or unexpected behavior when rendering historical logs

Detection Strategies

  • Monitor database audit logs for modifications to log template history tables by non-administrative accounts
  • Implement application-level logging to track access patterns to historical task information pages
  • Deploy web application firewalls (WAF) to detect anomalous server-side behavior following log view requests
  • Use endpoint detection and response (EDR) solutions to monitor the Airflow web-server process for code injection indicators

Monitoring Recommendations

  • Enable comprehensive audit logging for all database operations within the Airflow deployment
  • Configure alerts for unusual web-server process behavior including unexpected code execution patterns
  • Implement user activity monitoring for DAG Author accounts with focus on database interaction patterns
  • Establish baseline behavior for historical log viewing operations to detect anomalous access patterns

How to Mitigate CVE-2024-56373

Immediate Actions Required

  • Upgrade Apache Airflow to version 2.11.1 or later where log template history functionality is disabled by default
  • Migrate to Apache Airflow 3 if continued use of log template history functionality is required with proper security controls
  • Review and audit all existing log template history entries in the database for suspicious content
  • Restrict DAG Author permissions to the minimum necessary for operational requirements

Patch Information

Apache has addressed this vulnerability by disabling the log template history functionality by default in Airflow version 2.11.1. Users requiring this functionality should upgrade to Apache Airflow 3, which implements proper security controls for the feature.

The security patch and related changes can be reviewed in the GitHub Pull Request #61880. Additional details are available through the Apache Mailing List Thread.

Workarounds

  • Disable log template history functionality manually in Airflow configurations if upgrade is not immediately possible
  • Manually audit and sanitize historical log file names if access to historical logs generated before the last log template change is required
  • Implement additional access controls to restrict who can view historical task information
  • Consider network segmentation to limit the impact of potential web-server compromise
bash
# Configuration example
# Upgrade Apache Airflow to patched version
pip install apache-airflow>=2.11.1

# Verify installed version
airflow version

# Review Airflow configuration for log template settings
grep -r "log_template" ${AIRFLOW_HOME}/airflow.cfg

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Airflow

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Pull Request

  • Openwall OSS Security Post
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2025-69219: Apache Airflow Providers Http RCE Flaw

  • CVE-2020-11978: Apache Airflow RCE Vulnerability

  • CVE-2024-45034: Apache Airflow RCE Vulnerability

  • CVE-2022-24288: Apache Airflow RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English