CVE-2024-39877Apache Airflow
High 8.8
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- Yes
- Published
- Jul 17, 2024
- Updated
- Nov 3, 2026
- Category
- Server · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Airflow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
≥ 2.4.0 < 2.9.3 |
2.9.3 |
pip install "apache-airflow>=2.9.3" |
| PyPI | apache-airflow |
≥ 2.4.0 < 2.9.3 |
2.9.3 |
pip install "apache-airflow>=2.9.3" |
Per OSV / GitHub Advisories (GHSA-g5hv-r743-v8pm, PYSEC-2024-190). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 2.4.0 < 2.9.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- lists.apache.org Mailing List
- www.openwall.com