← All security advisories

CVE-2022-40127: Apache Airflow <2.4.0 has an RCE in a bash example

Severity Low
Affects Apache Airflow
Weakness CWE-94 Improper Control of Generation of Code ('Code Injection')
Published November 14, 2022
Record updated April 30, 2025
CVE record CVE-2022-40127 on cve.org

Description

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow before 2.4.0

Credits

  • Apache Airflow PMC would like to thank L3yx of Syclover Security Team.

References