{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38540","published":"2021-09-09T15:15:09.170000Z","last_modified":"2026-11-27T13:17:16.947000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-269","CWE-306"],"cpes":[{"criteria":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"airflow","version_start_including":"2.0.0","version_end_excluding":"2.1.3"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/airflow"],"epss":{"score":0.80498,"percentile":0.99741,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"server","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h88f-r7cw-8fv3","ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[{"introduced":"2.0.0","fixed":"2.1.3"}],"versions":["2.0.0","2.0.1","2.0.1rc1","2.0.1rc2","2.0.2","2.0.2rc1","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.1.2","2.1.2rc1","2.1.3rc1"],"versions_truncated":false},{"advisory":"PYSEC-2021-326","ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[{"introduced":"2.0.0","fixed":"2.1.3"}],"versions":["2.0.0","2.0.1","2.0.1rc1","2.0.1rc2","2.0.2","2.0.2rc1","2.1.0","2.1.0rc1","2.1.0rc2","2.1.1","2.1.1rc1","2.1.2","2.1.2rc1","2.1.3rc1"],"versions_truncated":false}],"severity":"critical","priority_score":82,"links":{"html_es":"/es/cve/CVE-2021-38540/","html_en":"/en/cve/CVE-2021-38540/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38540","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38540"},"untrusted":{"vendor_name":"Apache","product_name":"Airflow","desc_en":"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":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Airflow","versions":[]}],"references":[{"url":"https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E","tags":[]},{"url":"https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E","tags":["Mailing List","Vendor Advisory"]}]}}