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 package | Versions | Reported by |
|---|---|---|
| apache-airflow | from 2.4.0 before 2.9.3 | CVE List |
| apache airflow | from 2.4.0 before 2.9.3 | CVE List, NVD |
| apache-airflow (PyPI) | from 2.4.0 before 2.9.3 | GitHub Advisory Database, PyPA Advisory Database |
| airflow (Bitnami) | from 2.4.0 before 2.9.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| https://github.com/apache/airflow/pull/40522 | fix, issue-tracking, patch, report, web | |
| https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1 | article, discussion, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2024/07/16/7 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-39877 | advisory, web | |
| https://github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531 | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml | web | |
| https://github.com/advisories/GHSA-g5hv-r743-v8pm | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39877 changed 2026-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g5hv-r743-v8pm changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-39877 changed 2026-11-03 | Public domain |
| PyPA Advisory Database | PYSEC-2024-190 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2024-39877 changed 2026-09-08 | Apache-2.0 |