---
id: CVE-2024-31869
aliases:
  - GHSA-2522-mrjc-m688
  - BIT-airflow-2024-31869
  - PYSEC-2026-1128
title: >-
  Apache Airflow: Sensitive configuration for providers displayed when
  "non-sensitive-only" config used
summary: >-
  Apache Airflow: Sensitive configuration for providers displayed when
  "non-sensitive-only" config used
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
vendor: apache-airflow
product: apache-airflow
ecosystem: pip
affected:
  - 'apache-airflow >= 2.7.0, < 2.9.0'
patched:
  - apache-airflow 2.9.0
published: '2024-04-18'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2522-mrjc-m688'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-31869'
  - url: 'https://github.com/apache/airflow/pull/38795'
  - url: >-
      https://github.com/apache/airflow/commit/042c2acaed7c01933d37c2f8434640ce140a4b27
  - url: 'https://github.com/apache/airflow'
  - url: 'https://lists.apache.org/thread/pz6vg7wcjk901rmsgt86h76g6kfcgtk3'
  - url: 'http://www.openwall.com/lists/oss-security/2024/04/17/10'
tags:
  - osv
  - pip
epss: 0.01058
epssPercentile: 0.63012
ingestedAt: '2026-07-08T18:25:44.142Z'
---

## Overview

Airflow versions 2.7.0 through 2.8.4 have a vulnerability that allows an authenticated user to see sensitive provider configuration via the "configuration" UI page when "non-sensitive-only" was set as "webserver.expose_config" configuration (The celery provider is the only community provider currently that has sensitive configurations). You should migrate to Airflow 2.9 or change your "expose_config" configuration to False as a workaround. This is similar, but different to  CVE-2023-46288 https://github.com/advisories/GHSA-9qqg-mh7c-chfq  which concerned API, not UI configuration page.

## Affected packages

- `apache-airflow >= 2.7.0, < 2.9.0`

## Remediation

Upgrade to a patched release:

- `apache-airflow 2.9.0`
