CVE-2024-39877
HIGH 8.8CVSS 3.1Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler
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.
- Published
- 17 Jul 2024
- Last modified
- 3 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-277CWE-94
- Also known as
- BIT-airflow-2024-39877GHSA-g5hv-r743-v8pmPYSEC-2024-190
- Sources
- NVDJSONOSV GHSA-g5hv-r743-v8pmJSONOSV PYSEC-2024-190JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
>= 2.4.0, < 2.9.3 | 2.9.3 |
| OSV | PyPI | apache-airflow | >= 2.4.0, < 2.9.3 | 2.9.3 |
References
- https://github.com/apache/airflow/pull/40522 · Issue Tracking, Patch, WEB, FIX, REPORT
- https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1 · Mailing List, WEB, ARTICLE
- http://www.openwall.com/lists/oss-security/2024/07/16/7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39877 · ADVISORY
- 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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jul 2024)