Live threats

All CVEs / Apache

CVE-2021-38540Apache Airflow

Critical 9.8 No auth neededHigh EPSS

Priority
82
CVSS 3.1
9.8
EPSS
80.5%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Sep 9, 2021
Updated
Nov 27, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-269, CWE-306
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Airflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI apache-airflow ≥ 2.0.0 < 2.1.3 2.1.3 pip install "apache-airflow>=2.1.3"
PyPI apache-airflow ≥ 2.0.0 < 2.1.3 2.1.3 pip install "apache-airflow>=2.1.3"

Per OSV / GitHub Advisories (GHSA-h88f-r7cw-8fv3, PYSEC-2021-326). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheairflow≥ 2.0.0 < 2.1.3

Official sources

References

Links published by the sources. Open them with care.