CVE-2022-40127Airflow OS Command Injection
Apache Airflow vulnerable to OS Command Injection via example DAGs
Published Nov 14, 2022 · Updated Nov 28, 2026 · Also known as BIT-airflow-2022-40127, GHSA-6pw3-8h9w-32gc, PYSEC-2022-42982, ROOT-APP-PYPI-CVE-2022-40127
Key Facts
Patch immediately- CVE-2022-40127 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Airflow (Apache), Apache Airflow (pypi).
- It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Nov 22, 2026. No public exploit code is known.
- EPSS estimates a 32% probability of exploitation in the next 30 days.
- Fixed versions are available, including Airflow 2.4.0, Apache Airflow 2.4.0, Apache Airflow 2.3.3+aikido.6.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
32%
Higher than 98.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
53/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Nov 22, 2026
1469 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Nov 22, 2026 | n/a | Not reported |
| Industry KEV feed | Nov 22, 2026 | n/a | Not reported |
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| AirflowApache | See advisory | 2.4.0 |
| Apache Airflowpypi | >= Apache Airflow | 2.4.0 |
Patched Releases
Airflow
2.4.0
Apache Airflow
2.4.0, 2.3.3+aikido.6
Timeline
Publicly disclosed
Nov 14, 2022
Added to CIRCL KEV
Nov 22, 2026
Added to Industry KEV feed
Nov 22, 2026
Last updated
Nov 28, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-40127
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
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.
Affected: Airflow (Apache); Apache Airflow (pypi) versions >= Apache Airflow. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Nov 22, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Airflow 2.4.0, Apache Airflow 2.4.0, Apache Airflow 2.3.3+aikido.6.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-40127 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo