# CVE-2024-39877: Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2024-07-17T07:54:24.338Z
- Modified: 2026-11-04T00:02:36.469Z
- Also known as: GHSA-g5hv-r743-v8pm, BIT-AIRFLOW-2024-39877, PYSEC-2024-190
- Weaknesses: CWE-94, CWE-277
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow: from 2.4.0 before 2.9.3
- apache airflow: from 2.4.0 before 2.9.3
- apache-airflow (PyPI): from 2.4.0 before 2.9.3
- airflow (Bitnami): from 2.4.0 before 2.9.3

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2024-39877](https://www.cve.org/CVERecord?id=CVE-2024-39877), CVE Terms of Use, modified 2026-11-04
- GitHub Advisory Database: [GHSA-g5hv-r743-v8pm](https://github.com/advisories/GHSA-g5hv-r743-v8pm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39877](https://nvd.nist.gov/vuln/detail/CVE-2024-39877), Public domain, modified 2026-11-03
- PyPA Advisory Database: [PYSEC-2024-190](https://osv.dev/vulnerability/PYSEC-2024-190), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2024-39877](https://osv.dev/vulnerability/BIT-AIRFLOW-2024-39877), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-39877 · Whole record: https://cve.day/CVE-2024-39877.json · Rebuilt by cve.day 2026-11-25T22:58:43.009Z
