Skip to content
Fencer Vulns
high 8.8

CVE-2024-39877 json

Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler

published 2024-07-17 2 y ago modified 2026-11-04 5 d ago also BIT-airflow-2024-39877 , EUVD-2024-0011 , GHSA-g5hv-r743-v8pm , PYSEC-2024-190

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi apache-airflow 2.9.3
  • bitnami airflow 2.9.3
  • Apache Software Foundation Apache Airflow 2.9.3
  • apache airflow 2.9.3

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi apache-airflow
>=2.4.0, <2.9.3
2.9.3
bitnami airflow
>=2.4.0, <2.9.3
2.9.3

Affected products

  • Apache Software Foundation Apache Airflow
  • apache airflow

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-277 Insecure Inherited Permissions

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.