Apache AirflowGHSA-g5hv-r743-v8pm
Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler
High8.8CVE-2024-39877 · Published Jul 17, 2024 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 2.4.0, < 2.9.3 | 2.9.3 |
Details and references
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 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-277, CWE-94
- Also known as
- BIT-airflow-2024-39877, CVE-2024-39877, PYSEC-2024-190
- nvd.nist.gov/vuln/detail/CVE-2024-39877
- github.com/apache/airflow/pull/40522
- github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531
- github.com/apache/airflow
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml
- lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1
- www.openwall.com/lists/oss-security/2024/07/16/7
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 172024 | Apache Airflow Potential Cross-site Scripting Vulnerability CVE-2024-39863Medium5.4fixed in 2.9.3 | Medium5.4 | 2.9.3 |
| Aug 52024 | Insufficient Session Expiration vulnerability in Apache Airflow Providers FAB. CVE-2024-42447Critical9.8no fix yet | Critical9.8 | No fix yet |
| Jun 142024 | Apache Airflow does not return the "Cache-Control" header for dynamic content CVE-2024-25142Lowfixed in 2.9.2 | Low | 2.9.2 |
| Aug 212024 | Apache Airflow Cross-site Scripting Vulnerability CVE-2024-41937Medium6.1fixed in 2.10.0 | Medium6.1 | 2.10.0 |
| Sep 72024 | Apache Airflow vulnerable to Execution with Unnecessary Privileges CVE-2024-45034High8.8fixed in 2.10.1 | High8.8 | 2.10.1 |
| Sep 72024 | Apache Airflow vulnerable to Improper Encoding or Escaping of Output CVE-2024-45498High8.8fixed in 2.10.1 | High8.8 | 2.10.1 |