{"cve":"CVE-2024-39877","nvd":{"published":"2024-07-17T08:15:02.073","modified":"2026-06-17T07:42:57.107","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-94","CWE-277"],"references":["https://github.com/apache/airflow/pull/40522","https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1","http://www.openwall.com/lists/oss-security/2024/07/16/7","https://github.com/apache/airflow/pull/40522","https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1"],"products":["apache:airflow"],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-39877","score":0.01726,"percentile":0.77556,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g5hv-r743-v8pm","url":"https://osv.dev/vulnerability/GHSA-g5hv-r743-v8pm","summary":"Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler","modified":"2026-09-10T03:50:16.767279384Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[">=2.4.0 <2.9.3"],"fixed":["2.9.3"]}]},{"id":"PYSEC-2024-190","url":"https://osv.dev/vulnerability/PYSEC-2024-190","summary":"","modified":"2026-06-10T17:00:25.297148933Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[">=2.4.0 <2.9.3"],"fixed":["2.9.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}