Advisory

GHSA-c392-whpc-vfpr

Also known as: BIT-airflow-2024-45498, CVE-2024-45498, PYSEC-2024-266

Summary

Apache Airflow vulnerable to Improper Encoding or Escaping of Output

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-09-07 09:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 2.10.0, fixed 2.10.1 (ecosystem)

Fixed versions

2.10.1

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences