What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Airflow 2.9.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-39877 or the next vulnerability affects your stack