CVE-2022-40127 in the critical feed json
Apache Airflow <2.4.0 has an RCE in a bash example
published 2022-11-14 3 y ago modified 2026-09-08 2 mo ago also BIT-airflow-2022-40127 , EUVD-2022-0017 , GHSA-6pw3-8h9w-32gc , PYSEC-2022-42982
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 85.7%
- EPSS 85.7% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- pypi apache-airflow 2.4.0
- bitnami airflow 2.4.0
- Apache Software Foundation Apache Airflow 2.4.0
- github.com/apache/airflow@372e699 commit
- github.com/apache/airflow#25960 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
85.65% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template AirFlow < 2.4.0 - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow | <2.4.0 |
2.4.0 |
| bitnami | airflow | <2.4.0 |
2.4.0 |
Affected products
- Apache Software Foundation Apache Airflow
Classification
References
-
github.com
/apache/airflow/pull/25960
web, patch, third-party-advisory, advisory
-
github.com
/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5
web
-
lists.apache.org
/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
web, mailing-list, third-party-advisory, advisory, article
-
openwall.com
/lists/oss-security/2022/11/14/2
mailing-list, web, third-party-advisory, advisory, article
-
nvd.nist.gov
/vuln/detail/CVE-2022-40127
advisory, web
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml
web
-
github.com
/advisories/GHSA-6pw3-8h9w-32gc
advisory
Sources
- CVE List CVE-2022-40127
- GitHub Advisory GHSA-6pw3-8h9w-32gc
- NVD CVE-2022-40127
- OSV BIT-airflow-2022-40127
- OSV PYSEC-2022-42982
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.