← All security advisories

CVE-2024-45498: Apache Airflow: Command Injection in an example DAG

Severity Low
Affects Apache Airflow
Weakness CWE-116 Improper Encoding or Escaping of Output
Published September 7, 2024
Record updated November 4, 2024
CVE record CVE-2024-45498 on cve.org

Description

Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873  for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow 2.10.0

Credits

  • Nhien Pham (aka nhienit) at Galaxy One (finder)
  • Amogh Desai (remediation developer)

References