CVE-2021-26559: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API
| Severity | Not rated |
|---|---|
| Affects | Apache Airflow |
| Weakness | CWE-284 Improper Access Control on Configurations Endpoint for the Stable API |
| Published | February 17, 2021 |
| Record updated | February 13, 2025 |
| CVE record | CVE-2021-26559 on cve.org |
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 versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow | apache-airflow |
2.0.0 |
Credits
- Apache Airflow would like to thank Ian Carroll for reporting this issue.
References
- https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E (x_refsource_MISC)
- [oss-security] 20210217 CVE-2021-26559: Apache Airflow 2.0.0: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API (mailing-list, x_refsource_MLIST)
- [announce] 20210217 CVE-2021-26559: Apache Airflow: CWE-284 Privilege Escalation Attack (mailing-list, x_refsource_MLIST)