{"id":"CVE-2024-39877","published":"2024-07-17T07:54:24Z","modified":"2026-11-04T00:02:36Z","title":"Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01726,"percentile":0.78116,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-277","name":"Insecure Inherited Permissions"}],"references":[{"url":"https://github.com/apache/airflow/pull/40522","tags":["patch"]},{"url":"https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/16/7","tags":[]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":15.62},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= 2.4.0, < 2.9.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-02T03:55:23.282294Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":[">=2.4.0, <2.9.3"],"patched":["2.9.3"],"from":["GHSA-g5hv-r743-v8pm","PYSEC-2024-190"],"provenance":"source"}],"summary":{"text":"Apache Airflow versions 2.4.0 through those before 2.9.3 contain a flaw in how the doc_md parameter is handled, affecting the airflow-scheduler component. An authenticated user with DAG author privileges can craft a doc_md value that executes arbitrary code in the scheduler's context, which the Airflow security model is meant to prohibit; no user interaction is described, and upgrading to 2.9.3 or later removes the issue.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:50:13Z"},"euvd":{"id":"EUVD-2024-0011","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-32077","published":"2024-05-14","fixed":"2.9.1","kev":false},{"cve":"CVE-2024-25142","published":"2024-06-14","fixed":"2.9.2","kev":false,"link":{"from":"CVE-2024-25142","to":"CVE-2024-39877","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.9.2","toFixed":"2.9.3","daysApart":33}]}},{"cve":"CVE-2024-39863","published":"2024-07-17","fixed":"2.9.3","kev":false},{"cve":"CVE-2024-39877","published":"2024-07-17","fixed":"2.9.3","kev":false},{"cve":"CVE-2024-41937","published":"2024-08-21","fixed":"2.10.0","kev":false},{"cve":"CVE-2024-45034","published":"2024-09-07","fixed":"2.10.1","kev":false},{"cve":"CVE-2024-45498","published":"2024-09-07","fixed":"2.10.1","kev":false}],"package":"PyPI:apache-airflow"}}