CVE-2024-45498: Apache Airflow vulnerable to Improper Encoding or Escaping of Output
Example DAG: exampleinleteventextra.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.
Published Sep 7, 2024 · Updated Jun 5, 2026
Affected packages
apache-airflow
- Ecosystem
- PyPI
- Affected
- = 2.10.0
- Fixed in
- 2.10.1
- Check
pip show apache-airflow
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to exolightor.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45498
- https://github.com/apache/airflow/pull/41873
- https://lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n
- https://github.com/apache/airflow/commit/09ec2616568f8a18e0d5fe408110fae06ddf748f
- https://www.openwall.com/lists/oss-security/2024/09/06/2
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-266.yaml
- https://github.com/advisories/GHSA-c392-whpc-vfpr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-54183
Apache Airflow Variables UI fails to mask sensitive values in deeply nested iterables
medium4.3Aug 12, 2026CVE-2026-58076
Apache Airflow exception-node deserialization permits arbitrary callable execution
high8.8Aug 12, 2026CVE-2026-59242
Apache Airflow XCom API permits unsafe deserialization through JSON string literals
medium5.4Aug 12, 2026CVE-2026-59244
Apache Airflow exposes dict-valued var.json secrets in Rendered Templates
medium6.5Aug 12, 2026CVE-2026-65017
Apache Airflow Config API exposes team-scoped sensitive configuration values
medium6.5Aug 12, 2026CVE-2026-67260
Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs
high7.3Aug 12, 2026
