CVE-2021-38540Airflow Missing Authentication
Missing Authentication for Critical Function in Apache Airflow
Published Sep 9, 2021 · Updated Nov 28, 2026 · Also known as BIT-airflow-2021-38540, GHSA-h88f-r7cw-8fv3, PYSEC-2021-326
Key Facts
Patch immediately- CVE-2021-38540 is a critical-severity vulnerability (CVSS 9.3 v4) affecting Airflow (Apache), Apache Airflow (pypi).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including Airflow 2.1.3, Apache Airflow 2.1.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v4
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
80%
Higher than 99.6% of all scored CVEs
Exploit maturity
None known
ATLAS score
33/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-38540
- advisoryGHSA advisory
Description
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, =2.0.0, <2.1.3.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| AirflowApache | >= 2.0.0 | 2.1.3 |
| Apache Airflowpypi | >= 2.0.0, >= Apache Airflow | 2.1.3 |
Patched Releases
Airflow
2.1.3
Apache Airflow
2.1.3
Timeline
Publicly disclosed
Sep 9, 2021
Last updated
Nov 28, 2026
Weakness Type
- CWE-269 Improper Privilege Management
- CWE-306 Missing Authentication for Critical Functionality
References
- advisorynvd.nist.gov · CVE-2021-38540
- advisoryGHSA advisory
- articlegithub.com · bcec1df
- articlegithub.com · PYSEC-2021-326.yaml
- articlelists.apache.org · rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328…
FAQ
Common Questions.
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, =2.0.0, <2.1.3.
Affected: Airflow (Apache) versions >= 2.0.0; Apache Airflow (pypi) versions >= 2.0.0, >= Apache Airflow. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Airflow 2.1.3, Apache Airflow 2.1.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-38540 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo