{"id":"CVE-2021-26559","state":"PUBLISHED","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.","publishedAt":"2021-02-17T14:15:14.000Z","updatedAt":"2025-02-13T16:27:54.002Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow 2.0.0","status":"affected"}]}],"references":["https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","http://www.openwall.com/lists/oss-security/2021/02/17/1","https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T19:48:13.210Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/26xxx/CVE-2021-26559.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-26559","state":"PUBLISHED","datePublished":"2021-02-17T14:15:14.000Z","dateUpdated":"2025-02-13T16:27:54.002Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-02-02T00:00:00.000Z"},"containers":{"cna":{"title":"CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow 2.0.0","status":"affected"}]}],"references":[{"url":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/02/17/1","name":"[oss-security] 20210217 CVE-2021-26559: Apache Airflow 2.0.0: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E","name":"[announce] 20210217 CVE-2021-26559: Apache Airflow: CWE-284 Privilege Escalation Attack","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","description":"CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2024-08-03T20:28:08.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Airflow would like to thank Ian Carroll for reporting this issue."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-26559","STATE":"PUBLIC","TITLE":"CWE-284 Improper Access Control on Configurations Endpoint for the Stable API"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Airflow","version":{"version_data":[{"version_affected":"=","version_name":"Apache Airflow","version_value":"2.0.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Airflow would like to thank Ian Carroll for reporting this issue."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-284 Improper Access Control on Configurations Endpoint for the Stable API"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","refsource":"MISC","url":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E"},{"name":"[oss-security] 20210217 CVE-2021-26559: Apache Airflow 2.0.0: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2021/02/17/1"},{"name":"[announce] 20210217 CVE-2021-26559: Apache Airflow: CWE-284 Privilege Escalation Attack","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8@%3Cannounce.apache.org%3E"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"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."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2021/02/17/1","name":"[oss-security] 20210217 CVE-2021-26559: Apache Airflow 2.0.0: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E","name":"[announce] 20210217 CVE-2021-26559: Apache Airflow: CWE-284 Privilege Escalation Attack","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:26:25.506Z"}}]}}}