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.
CVE-2022-40127
Score elevated to 9.0 because EPSS predicts 86% probability of exploitation within the next 30 days (top 0.3% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 86%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 9.0(high)
- EG Risk
- 75(Track)EG Risk 75/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation86% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 86%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
November 14, 2022
Last Modified
April 30, 2025
Advisory Details (3)
Auto-updated Aug 22, 2026Change the template to use human readable task_instance description
Fix merged in apache/airflow PR #25960 on 2022-08-31 — awaiting tagged release
https://github.com/apache/airflow/pull/25960oss-security - CVE-2022-40127: RCE in Apache Airflow <2.4.0 bash example
http://www.openwall.com/lists/oss-security/2022/11/14/2Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache-airflow | 1.10.0 ... 2.4.0rc1 (121 versions) | 2.4.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 23:29 UTCOSV refresh
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 10:21 UTCOSV refresh
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-03 05:57 UTCOSV refresh
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:13 UTCEG score recompute
- 2026-07-22 23:01 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
Show 36 moreShow fewer
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-16 15:49 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-28 14:02 UTCOSV refresh
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-11 01:39 UTCOSV refresh
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 12:11 UTCEG score recompute
Publicly available exploits
(3 references)Working exploit code is in the public domain (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCjakabakos/CVE-2022-40127-Airflow-RCEFirst seen Jul 21, 2023
CVE-2022-40127 PoC and exploit
Open source ↗ - GitHub PoCMr-xn/CVE-2022-40127First seen Nov 18, 2022
Apache Airflow < 2.4.0 DAG example_bash_operator RCE POC
Open source ↗ - Nucleihttp/cves/2022/CVE-2022-40127.yamlFirst seen Jan 1, 2022
AirFlow < 2.4.0 - Remote Code Execution
Open source ↗
Frequently asked(5)
What is CVE-2022-40127?
When was CVE-2022-40127 disclosed?
Is CVE-2022-40127 actively exploited?
What is the CVSS score of CVE-2022-40127?
How do I remediate CVE-2022-40127?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-40127
Is Your Infrastructure Affected by CVE-2022-40127?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.