CVE-2021-38540
publishedApache Airflow: Variable Import endpoint missed authentication check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Airflow0 to < 2.1.3 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Airflow | 0 to < 2.1.3 (affected · semver) | apache · cna |
Weaknesses
1- CWE-269 CWE-269 Improper Privilege Management
References
2- [announce] 20210909 CVE-2021-38540: Apache Airflow: Variable Import endpoint missed authentication check https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E
Provider assertions
2apache · cna
Apache Airflow: Variable Import endpoint missed authentication check
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 097ac06222cae73a688f37ed76b565bb45840926ca6127aa4abb37c655d72a8d
- Ingested
- 27 Nov 2026, 13:03:05 UTC
- Source record
- Official CVE record