OS command injection in Apache Airflow
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-78.
Summary
An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use). If you already have examples disabled by setting load_examples=False in the config then you are not vulnerable.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- 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 | up to 1.10.10 | — | No fix listed | CNA |
| — | apache-airflow (PyPI) | before 1.10.11rc1 | 1.10.11rc1 | Patch available | GHSA-rvmq-4x66-q7j3 |
- Apache Airflow VendorApache Affected up to 1.10.10 Fixed in — No fix listed CNA
- apache-airflow (PyPI) Vendor— Affected before 1.10.11rc1 Fixed in 1.10.11rc1 Patch available GHSA-rvmq-4x66-q7j3
Remediation
- Fix · GHSA-rvmq-4x66-q7j3 apache-airflow (PyPI) Fixed in 1.10.11rc1 Advisory →
Timeline
- 2022-01-18 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2020-11978
- 2026-10-03 Alias added: GHSA-rvmq-4x66-q7j3
References
Exploit 2
Advisory 3
Other 5
- https://github.com/apache/airflow/pull/9143
- https://github.com/apache/airflow/commit/2fa51576e1283f5732e38fada686fd248d9c3a1e
- https://github.com/apache/airflow/commit/4d8599e8b0520ff4226fbad72f724afae50fdd08
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2020-14.yaml
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 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-2020-11978 · CVE Program
- CVE-2020-11978 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-rvmq-4x66-q7j3 · 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