CVE-2021-38540Apache Airflow
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 2.0.0 < 2.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory