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 package | Versions | Reported by |
|---|---|---|
| apache-airflow | before 2.11.1 | CVE List |
| apache-airflow (PyPI) | before 2.11.1 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 2.11.1 | NVD |
| airflow (Bitnami) | before 2.11.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 8.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 8.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| https://github.com/apache/airflow/pull/61880 | issue-tracking, patch, report, web | |
| https://lists.apache.org/thread/2vrmrhcht6g7cp5yjxpnrk2wtrncm6cy | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/02/23/3 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-56373 | advisory, web | |
| https://github.com/apache/airflow | package | |
| https://pypi.org/project/apache-airflow | package | |
| https://github.com/advisories/GHSA-r837-hpv7-pc2f | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56373 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r837-hpv7-pc2f changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-56373 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2355 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2024-56373 changed 2026-09-08 | Apache-2.0 |