CVE-2021-38540
Executive Summary
Unauthenticated users can access the variable import endpoint in Apache Airflow versions 2.0.0 through 2.1.2, allowing them to add or modify variables that DAGs use. This flaw can lead to denial‑of‑service conditions, information disclosure, or even remote code execution depending on how the variables are leveraged within DAGs.
Authoritative CVE Metadata
- CVSS Base Score: 9.8 (CRITICAL)
- Status: Modified
- Last Modified: 27-11-26
Original Description
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed unauthenticated users to hit that endpoint to add/modify Airflow variables used in DAGs, potentially resulting in a denial of service, information disclosure or remote code execution. This issue affects Apache Airflow >=2.0.0, <2.1.3.