CVE-2024-39877
JSON

8.8high

Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.63% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-g5hv-r743-v8pmBIT-AIRFLOW-2024-39877PYSEC-2024-190

Description

Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according to the Airflow Security model. Users should upgrade to version 2.9.3 or later which has removed the vulnerability.

Affected

Product or packageVersionsReported by
apache-airflowfrom 2.4.0 before 2.9.3CVE List
apache airflowfrom 2.4.0 before 2.9.3CVE List, NVD
apache-airflow (PyPI)from 2.4.0 before 2.9.3GitHub Advisory Database, PyPA Advisory Database
airflow (Bitnami)from 2.4.0 before 2.9.3Bitnami Vulnerability Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-94CWE-277

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

What each source says

CVE List

Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according to the Airflow Security model. Users should upgrade to version 2.9.3 or later which has removed the vulnerability.

NVD (es)

Apache Airflow 2.4.0 y versiones anteriores a 2.9.3 tienen una vulnerabilidad que permite a los autores de DAG autenticados crear un parámetro doc_md de manera que pueda ejecutar código arbitrario en el contexto del programador, lo que debería estar prohibido según el modelo de seguridad de Airflow. Los usuarios deben actualizar a la versión 2.9.3 o posterior, que eliminó la vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-39877 changed 2026-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-g5hv-r743-v8pm changed 2026-09-10CC-BY-4.0
NVDCVE-2024-39877 changed 2026-11-03Public domain
PyPA Advisory DatabasePYSEC-2024-190 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2024-39877 changed 2026-09-08Apache-2.0