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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.84% (percentile 87, 2026-11-26)
- **CWE:** CWE-284
- **Aliases:** BIT-airflow-2021-26559, GHSA-ffw3-6mp6-jmvj, PYSEC-2021-2
- **Published:** 2021-02-17T14:15:14.000Z
- **Modified:** 2026-11-27T13:17:16.250Z

## Who should check

- Projects that depend on PyPI package apache-airflow (\>= 2.0.0, \< 2.0.1rc1)
- Anyone running Apache Software Foundation Apache Airflow 2.0.0

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

## Affected and fixed versions

- PyPI `apache-airflow`: affected \>= 2.0.0, \< 2.0.1rc1; fixed 2.0.1rc1, 2.0.1 (osv)
- Apache Software Foundation Apache Airflow: 2.0.0 (cvelist)

## Mitigation

- Upgrade apache-airflow to one of 2.0.1rc1, 2.0.1 (or later in the same release line).
- Vendor workaround: 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-26559. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-26559.md
Affected: apache-airflow >= 2.0.0, < 2.0.1rc1
Fixed in: 2.0.1rc1, 2.0.1

Steps:
1. Search this machine and project for apache-airflow (PyPI), Apache Software Foundation Apache Airflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-26559 being exploited?

There is no confirmed exploitation: CVE-2021-26559 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.84% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-26559?

Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.

### Which versions are affected by CVE-2021-26559?

apache-airflow \>= 2.0.0, \< 2.0.1rc1.

### Is there a fix for CVE-2021-26559?

Yes. Fixed in 2.0.1rc1, 2.0.1. Upgrade apache-airflow to one of 2.0.1rc1, 2.0.1 (or later in the same release line). Vendor workaround: 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.

### How do I check if I'm affected by CVE-2021-26559?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-26559>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ffw3-6mp6-jmvj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2021-2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-26559> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-26559>
