# CVE-2021-26559: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.84%, higher than 87% of CVEs (2026-12-01)
- Published: 2021-02-17T14:15:14.000Z
- Modified: 2026-11-27T13:17:16.250Z
- Also known as: GHSA-ffw3-6mp6-jmvj, BIT-AIRFLOW-2021-26559, PYSEC-2021-2
- Weaknesses: CWE-269, CWE-284
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Airflow: 2.0.0
- apache-airflow (PyPI): from 2.0.0 before 2.0.1rc1; before 2.0.1
- apache airflow: 2.0.0
- airflow (Bitnami): from 2.0.0 before 2.0.1

## Every score

- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/02/17/1> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-26559> (advisory, web)
- <https://github.com/apache/airflow/commit/3909232fafd09ac72b49010ecdfd6ea48f06d5cf> (web)
- <https://github.com/apache/airflow/commit/5e35926c7eda0dfa11a9623e4bf5f60c2bd6b3f6> (web)
- <https://github.com/advisories/GHSA-ffw3-6mp6-jmvj> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/apache/airflow/blob/486b76438c0679682cf98cb88ed39c4b161cbcc8/CHANGELOG.txt> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-2.yaml> (web)
- <https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8@%3Cannounce.apache.org%3E> (web)

## Sources

- CVE List: [CVE-2021-26559](https://www.cve.org/CVERecord?id=CVE-2021-26559), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-ffw3-6mp6-jmvj](https://github.com/advisories/GHSA-ffw3-6mp6-jmvj), CC-BY-4.0, modified 2024-11-18
- NVD: [CVE-2021-26559](https://nvd.nist.gov/vuln/detail/CVE-2021-26559), Public domain, modified 2026-11-27
- PyPA Advisory Database: [PYSEC-2021-2](https://osv.dev/vulnerability/PYSEC-2021-2), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2021-26559](https://osv.dev/vulnerability/BIT-AIRFLOW-2021-26559), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-26559 · Whole record: https://cve.day/CVE-2021-26559.json · Rebuilt by cve.day 2026-11-27T13:32:13.691Z
