CVE-2021-38540: Apache Airflow

Critical severity, CVSS 9.8. EPSS: 80.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Apache Airflow: from 2.0.0, before 2.1.3 (fixed in 2.1.3)

Published 2021-09-09. Last modified 2026-06-17.