8.8high
Apache Airflow: Command Injection in an example DAG
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 2.44% (higher than 85% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-c392-whpc-vfprBIT-AIRFLOW-2024-45498PYSEC-2024-266
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
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow | 2.10.0 | CVE List |
| apache airflow | 2.10.0 | CVE List, NVD |
| apache-airflow (PyPI) | from 2.10.0 before 2.10.1, up to 2.10.0-NA | GitHub Advisory Database, PyPA Advisory Database |
| airflow (Bitnami) | from 2.10.0 before 2.10.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Ejemplo de DAG: example_inlet_event_extra.py incluido con Apache Airflow versión 2.10.0 tiene una vulnerabilidad que permite que un atacante autenticado con solo permiso de activación de DAG ejecute comandos arbitrarios. Si utilizó ese ejemplo como base de sus DAG, revise si no ha copiado el ejemplo peligroso; consulte https://github.com/apache/airflow/pull/41873 para obtener más información. Recomendamos no exponer los DAG de ejemplo en su implementación. Si debe exponer los DAG de ejemplo, actualice Airflow a la versión 2.10.1 o posterior.
References
| https://github.com/apache/airflow/pull/41873 | issue-tracking, patch, report, web | |
| https://lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2024/09/06/2 | article, discussion, mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-45498 | advisory, web | |
| https://github.com/apache/airflow/commit/09ec2616568f8a18e0d5fe408110fae06ddf748f | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-266.yaml | web | |
| https://www.openwall.com/lists/oss-security/2024/09/06/2 | web | |
| https://github.com/advisories/GHSA-c392-whpc-vfpr | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45498 changed 2024-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c392-whpc-vfpr changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-45498 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-266 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2024-45498 changed 2026-09-08 | Apache-2.0 |