{"schemaVersion":3,"id":"CVE-2021-26559","aliases":["GHSA-ffw3-6mp6-jmvj","BIT-airflow-2021-26559","PYSEC-2021-2"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-02-17T14:15:14.000Z","modified":"2025-02-13T16:27:54.002Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02805,"percentile":0.86272,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02805},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02805,"percentile":0.86272}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02805,"percentile":0.86272}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow","name":"Apache Airflow","label":"apache airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Apache Airflow 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"Apache Airflow 2.0.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow"},{"vendor":"apache","product":"airflow","name":"Airflow","label":"airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.0","eol":{"isEol":true,"eolDate":"2026-04-22T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2","label":"2","eolFrom":"2026-04-22T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.11.2"},"product":{"name":"apache-airflow","label":"Apache Airflow","category":"framework"}},"hubHref":"/vendor/apache/airflow"},{"vendor":"PyPI","product":"apache-airflow","name":"apache-airflow","label":"apache-airflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow","purlType":"pypi","versions":[{"text":"≥ 2.0.0, < 2.0.1rc1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.0.1rc1 | < 2.0.1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/02/17/1","label":"www.openwall.com/lists/oss-security/2021/02/17/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26559","label":"nvd.nist.gov/vuln/detail/CVE-2021-26559","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow/commit/3909232fafd09ac72b49010ecdfd6ea48f06d5cf","label":"github.com/apache/airflow/commit/3909232fafd09ac72b49010ecdfd6ea48f06d5cf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow/commit/5e35926c7eda0dfa11a9623e4bf5f60c2bd6b3f6","label":"github.com/apache/airflow/commit/5e35926c7eda0dfa11a9623e4bf5f60c2bd6b3f6","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-ffw3-6mp6-jmvj","label":"github.com/advisories/GHSA-ffw3-6mp6-jmvj","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/apache/airflow/blob/486b76438c0679682cf98cb88ed39c4b161cbcc8/CHANGELOG.txt","label":"github.com/apache/airflow/blob/486b76438c0679682cf98cb88ed39c4b161cbcc8/CHANGELOG.txt","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-2.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-2.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8@%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-02-17T14:15:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:27:54.002Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T00:53:03.717Z","stale":false,"partial":false}}