Apache Airflow <2.4.0 has an RCE in a bash example
Priority HIGH 82CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.85653 99th percentileScored 2026-11-07
Fix Fixed Apache Airflow (Apache Software Foundation): 2.4.0apache-airflow (PyPI): 2.4.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | Apache Airflow to before 2.4.0 | 2.4.0 | Patch available | CNA |
| — | apache-airflow (PyPI) | before 2.4.0 | 2.4.0 | Patch available | GHSA-6pw3-8h9w-32gc |
- Apache Airflow VendorApache Affected Apache Airflow to before 2.4.0 Fixed in 2.4.0 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-6pw3-8h9w-32gc
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.4.0
- Fix · GHSA-6pw3-8h9w-32gc apache-airflow (PyPI) Fixed in 2.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-40127
- 2026-10-03 Alias added: GHSA-6pw3-8h9w-32gc
References
Advisory 3
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
- TI-2022-22368 Apache Airflow: Open redirect during login CVSS 3.1MEDIUM 6.1
Sources
- CVE-2022-40127 · CVE Program
- CVE-2022-40127 · NVD
- FIRST EPSS
- GHSA-6pw3-8h9w-32gc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences