Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.5

Airflow Log Viewing Can Execute Malicious Code on the Server

CVE-2024-56373 GHSA-r837-hpv7-pc2f
Summary

A security issue in Airflow's log viewing feature allows a user with permission to execute code on the server, even though they shouldn't be able to. This can be fixed by upgrading to Airflow 3 or by manually modifying historical log file names. Users who rely on the log viewing feature should take immediate action to secure their system.

What to do
  • Update apache-airflow to version 2.11.1.
Affected software
VendorProductAffected versionsFix available
apache-airflow <= 2.11.1 2.11.1
apache airflow <= 2.11.1
Original title
Apache Airflow vulnerable to Code Injection in the web-server context via LogTemplate table
Original 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.
nvd CVSS3.1 8.4
Vulnerability type
CWE-94 Code Injection
Published: 24 Feb 2026 · Updated: 14 Mar 2026 · First seen: 6 Mar 2026