CVE-2022-40127

Executive Summary

The CVE exposes a flaw in Apache Airflow's Example Dags that permits an attacker with UI access to trigger DAGs and supply a malicious run_id value, resulting in arbitrary command execution on the underlying host. The vulnerability is present in all Airflow releases before 2.4.0. An attacker who can trigger DAGs can run arbitrary commands, potentially compromising the entire system. The fix is to upgrade to Airflow 2.4.0 or later, which removes the insecure handling of the run_id parameter.


Authoritative CVE Metadata

  • CVSS Base Score: 8.8 (HIGH)
  • Status: Modified
  • Last Modified: 27-11-26

Original 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.