{"id":"CVE-2021-26559","aliases":["CVE-2021-26559","GHSA-ffw3-6mp6-jmvj","BIT-AIRFLOW-2021-26559","PYSEC-2021-2"],"related":[],"kind":"vulnerability","state":"published","title":"CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un Control de Acceso Inapropiado en el Endpoint Configurations para la API Stable de Apache Airflow permite a usuarios con rol de Visualizadores o Usuario obtener Configuraciones de Airflow, incluyendo información confidencial, incluso cuando \"[webserver] expose_config\" está configurado como \"False\" en \"airflow.cfg\".&#xa0;Esto permitió un ataque de escalada de privilegios.&#xa0;Este problema afecta a Apache Airflow versión 2.0.0","source":"nvd"}],"published":"2021-02-17T14:15:14.000Z","modified":"2026-11-27T13:17:16.250Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-269","CWE-284"],"affected":[{"ranges":[{"type":"semver","version":"2.0.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.1rc1"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.0.0"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:2.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.1"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.0.1"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","tags":["advisory","mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/02/17/1","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26559","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow/commit/3909232fafd09ac72b49010ecdfd6ea48f06d5cf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/5e35926c7eda0dfa11a9623e4bf5f60c2bd6b3f6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-ffw3-6mp6-jmvj","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/blob/486b76438c0679682cf98cb88ed39c4b161cbcc8/CHANGELOG.txt","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-2.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8@%3Cannounce.apache.org%3E","tags":["web"],"sources":["ghsa","pysec"]}],"credits":["Apache Airflow would like to thank Ian Carroll for reporting this issue."],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26559","url":"https://www.cve.org/CVERecord?id=CVE-2021-26559","licence":"CVE Terms of Use","modified":"2026-11-27T12:56:09.396Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ffw3-6mp6-jmvj","url":"https://github.com/advisories/GHSA-ffw3-6mp6-jmvj","licence":"CC-BY-4.0","modified":"2024-11-18T16:26:11.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26559","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26559","licence":"Public domain","modified":"2026-11-27T13:17:16.250Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-2","url":"https://osv.dev/vulnerability/PYSEC-2021-2","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:58.424Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2021-26559","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2021-26559","licence":"Apache-2.0","modified":"2026-09-08T08:45:18.364Z"}],"updatedAt":"2026-11-27T13:32:13.691Z","epss":{"score":0.02839,"percentile":0.87035,"date":"2026-12-01T12:00:22.000Z"}}