title: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API
description: Improper Access Control on Configurations Endpoint for the Stable API of Apache Airflow allows users with Viewer or User role to get Airflow Configurations including sensitive information even when `[webserver] expose_config` is set to `False` in `airflow.cfg`. This allowed a privilege escalation attack. This issue affects Apache Airflow 2.0.0.
problem types: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API
affected:
{
product: Apache Airflow
vendor: Apache Software Foundation
versions:
status: affected, version: Apache Airflow 2.0.0
}
workarounds: Upgrade to Airflow 2.0.1 or remove `can read on Configurations` permission from the roles like Viewer and Users if you want to restrict users with those roles to view configurations in 2.0.0.