CVE-2021-45230

Apache Airflow: Creating DagRuns didn't respect Dag-level permissions in the Webserver

Description

In Apache Airflow prior to 2.2.0. This CVE applies to a specific case where a User who has "can_create" permissions on DAG Runs can create Dag Runs for dags that they don't have "edit" permissions for.

Remediation

Workaround:

  • This is a very low severity CVE and admins can mitigate this issue by removing the global "can_create" permissions on DagRun for Airflow versions >=2.0.0,<2.2.0 and 1.10.x versions that have set `rbac=True` in config.
6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 2.05% Top 20%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Airflow
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-45230?
CVE-2021-45230 has been scored as a medium severity vulnerability.
How to fix CVE-2021-45230?
As a workaround for remediating CVE-2021-45230: This is a very low severity CVE and admins can mitigate this issue by removing the global "can_create" permissions on DagRun for Airflow versions >=2.0.0,<2.2.0 and 1.10.x versions that have set `rbac=True` in config.
Is CVE-2021-45230 being actively exploited in the wild?
It is possible that CVE-2021-45230 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-45230?
CVE-2021-45230 affects Apache Software Foundation Apache Airflow.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.