{"id":"CVE-2024-39877","aliases":["CVE-2024-39877","GHSA-g5hv-r743-v8pm","BIT-AIRFLOW-2024-39877","PYSEC-2024-190"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-07-17T07:54:24.338Z","modified":"2026-11-04T00:02:36.469Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94","CWE-277"],"affected":[{"ranges":[{"type":"semver","introduced":"2.4.0","fixed":"2.9.3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","package":"apache-airflow","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.4.0","fixed":"2.9.3","status":"affected"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:2.4.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.4.0","status":"affected","fixed":"2.9.3"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.4.0","fixed":"2.9.3"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.4.0","status":"affected","fixed":"2.9.3"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.4.0","status":"affected","fixed":"2.9.3"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/40522","tags":["fix","issue-tracking","patch","report","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1","tags":["article","discussion","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/16/7","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39877","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g5hv-r743-v8pm","tags":["advisory"],"sources":["pysec"]}],"credits":["Seokchan Yoon (https://github.com/ch4n3-yoon)","Wei Lee"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-02T03:55:23.282Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39877","url":"https://www.cve.org/CVERecord?id=CVE-2024-39877","licence":"CVE Terms of Use","modified":"2026-11-04T00:02:36.469Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g5hv-r743-v8pm","url":"https://github.com/advisories/GHSA-g5hv-r743-v8pm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.767Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39877","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39877","licence":"Public domain","modified":"2026-11-03T22:17:22.393Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-190","url":"https://osv.dev/vulnerability/PYSEC-2024-190","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:25.297Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2024-39877","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2024-39877","licence":"Apache-2.0","modified":"2026-09-08T08:45:26.056Z"}],"updatedAt":"2026-11-25T22:58:43.009Z","epss":{"score":0.01627,"percentile":0.76887,"date":"2026-12-01T12:00:22.000Z"}}