CVE-2024-56373
JSON

8.4high

Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information

Severity
8.4high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.16% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-r837-hpv7-pc2fBIT-AIRFLOW-2024-56373PYSEC-2026-2355

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.

Affected

Product or packageVersionsReported by
apache-airflowbefore 2.11.1CVE List
apache-airflow (PyPI)before 2.11.1GitHub Advisory Database, PyPA Advisory Database
apache airflowbefore 2.11.1NVD
airflow (Bitnami)before 2.11.1Bitnami Vulnerability Database

All scores

CISA-ADP8.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
GitHub8.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
PyPA Advisory Database8.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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 (es)

El Autor de DAG (quien ya tiene bastantes permisos) podría manipular la base de datos de Airflow 2 de manera que pueda ejecutar código arbitrario en el contexto del servidor web, lo cual normalmente no deberían poder hacer, lo que lleva a una potencial ejecución remota de código en el contexto del servidor web (lado del servidor) como resultado de que un usuario vea información histórica de tareas. La funcionalidad responsable de ello (historial de plantillas de registro) ha sido deshabilitada por defecto en 2.11.1 y los usuarios deberían actualizar a Airflow 3 si quieren seguir usando el historial de plantillas de registro. También pueden modificar manualmente los nombres de los archivos de registro históricos si quieren ver los registros históricos que fueron generados antes del último cambio de plantilla de registro.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56373 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-r837-hpv7-pc2f changed 2026-09-10CC-BY-4.0
NVDCVE-2024-56373 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2355 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2024-56373 changed 2026-09-08Apache-2.0