Vulnerability in Apache Airflow Allows Unauthorized DAG Clearing
Summary
CVE-2023-42792: Apache Airflow, in versions prior to 2.7.2, contains a security vulnerability that allows an authenticated user with limited access to some DAGs, to craft a request that could give the user write access to various DAG re... Affects apache-airflow versions < 2.7.2. Fixed in 2.7.2. How to fix ↓
Also tracked for
- airflow · Bitnami
The same CVE-2023-42792 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Airflow is an open-source platform used for programmatically authoring, scheduling, and monitoring workflows. It provides a rich set of tools and features for managing Directed Acyclic Graphs (DAGs) that represent complex workflows. The platform allows users to define tasks, dependencies, and execution logic, making it easier to orchestrate data pipelines and automate data processing tasks. However, a security vulnerability has been identified in Apache Airflow versions prior to 2.7.2.
Vulnerability Detail
The vulnerability in Apache Airflow allows an authenticated user with limited access to some DAGs to exploit a flaw and gain unauthorized write access to various DAG resources. By crafting a specific request, the user can bypass their restricted access and gain write privileges for DAGs they should not have control over. This vulnerability enables the user to clear DAGs that they shouldn't, potentially disrupting critical workflows and causing data integrity issues.
How To Fix
Latest published version: 3.3.2 as of 22 Oct 2026
pip install --upgrade "apache-airflow==3.3.2"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.7.2
This is the first release that contains the fix.
pip install --upgrade "apache-airflow==2.7.2"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround available for this vulnerability. Upgrading to the patched version is the recommended solution.
Conclusion
Apache Airflow versions prior to 2.7.2 are affected by a vulnerability that allows unauthorized users to clear DAGs they shouldn't have access to. To mitigate this risk, it is crucial to upgrade to version 2.7.2 or newer. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for apache-airflow →
FAQ
Apache Airflow is an open-source platform used for programmatically authoring, scheduling, and monitoring workflows. It provides a rich set of tools and features for managing Directed Acyclic Graphs (DAGs) that represent complex workflows.
The vulnerability allows an authenticated user with limited access to gain unauthorized write access to various DAG resources. This can lead to the clearing of DAGs that the user should not have control over, potentially disrupting critical workflows and causing data integrity issues.
To fix this vulnerability, it is recommended to upgrade to Apache Airflow version 2.7.2 or newer. The latest version includes a fix for this security issue.
No, there is no specific workaround available for this vulnerability. Upgrading to the patched version is the recommended solution.
You can find more information about this vulnerability in the Apache Airflow advisory database: https://github.com/pypa/advisory-database/blob/main/vulns/apache-airflow/PYSEC-2023-203.yaml
References
Related vulnerabilities
Recent vulnerabilities recorded for apache-airflow.