Apache Airflow vulnerable to Improper Encoding or Escaping of Output
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | apache-airflow | >= 2.10.0, < 2.10.1 | 2.10.1 |
References
- https://lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n
- https://github.com/apache/airflow/pull/41873
- http://www.openwall.com/lists/oss-security/2024/09/06/2
- https://github.com/advisories/GHSA-c392-whpc-vfpr
- https://nvd.nist.gov/vuln/detail/CVE-2024-45498
- https://github.com/apache/airflow/commit/09ec2616568f8a18e0d5fe408110fae06ddf748f
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-266.yaml
- https://www.openwall.com/lists/oss-security/2024/09/06/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-116- Platform
- Python (PyPI)
- Package
apache-airflow- Disclosed
- 07.09.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2024-266 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-c392-whpc-vfpr - CC BY 4.0
Vulnerability history: apache-airflow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 158
- First → latest
- 08.2018 09.2026
- Without a fix
- 4
- Exploited in attacks
- 2
Severity breakdown
- Critical 16
- High 49
- Medium 86
- Low 7
Disclosures per year
- 2018: 1
- 2019: 8
- 2020: 12
- 2021: 5
- 2022: 16
- 2023: 31
- 2024: 18
- 2025: 6
- 2026: 61
-
Apache Airflow vulnerable to Improper Encoding or Escaping of Output this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.