RCE in Apache Airflow

CVE-2024-39877

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.017 (76.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-39877?
CVE-2024-39877 is a high-severity vulnerability in Apache Airflow, classified under Code Injection. CVSS score: 8.8/10. Published 2024-07-17.
How severe is CVE-2024-39877?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2024-39877 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.