Advisory

PYSEC-2026-2355

Also known as: BIT-airflow-2024-56373, CVE-2024-56373, GHSA-r837-hpv7-pc2f

Summary

Apache Airflow vulnerable to Code Injection in the web-server context via LogTemplate table

Details

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.

Severity

High Basis: CVSS v3 score 8.4, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.11.1 (ecosystem)

Fixed versions

2.11.1

Fix

  • Fixed version 2.11.1
    pip install --upgrade apache-airflow==2.11.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences