Advisory

PYSEC-2024-190

Also known as: BIT-airflow-2024-39877, CVE-2024-39877, GHSA-g5hv-r743-v8pm

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-07-17 08:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 2.4.0, fixed 2.9.3 (ecosystem)

Fixed versions

2.9.3

Fix

  • Fixed version 2.9.3
    pip install --upgrade apache-airflow==2.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences