CVE-2022-40127
HIGH8.8EPSS 93.3%Apache Airflow <2.4.0 has an RCE in a bash example
Published: 11/14/2022Modified: 5/20/2025
Description
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.
Affected packages (3)
- Bitnami/airflowfrom 0, < 2.4.0
- PyPI/apache-airflowfrom 0, < 2.4.0
- PyPI/apache-airflowfrom 0, < 2.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-40127
- PATCHhttps://github.com/apache/airflow
- WEBhttps://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5
- WEBhttps://github.com/apache/airflow/pull/25960
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml
- WEBhttps://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
- WEBhttp://www.openwall.com/lists/oss-security/2022/11/14/2