Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-26559

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-26559
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:01 UTC · Revision 1

Source evidence

CVE-2021-26559

core-osv · Original source

Published 17 Feb 2021, 15:15 UTC

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.

osv:CVE-2021-26559
Complete source record
{
  "id": "c0278416f2b695191f07b089514c7f36e0e9ee9e45aeaf09f19f3f5b83101a2c",
  "url": "https://osv.dev/vulnerability/CVE-2021-26559",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-26559",
    "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.",
    "evidence": "osv:CVE-2021-26559",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-26559",
      "aliases": [
        "BIT-airflow-2021-26559",
        "CVE-2021-26559",
        "GHSA-ffw3-6mp6-jmvj",
        "PYSEC-2021-2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/airflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8217db8cb4b1ff302c5cf8662477ac00f701e78c"
                },
                {
                  "last_affected": "8217db8cb4b1ff302c5cf8662477ac00f701e78c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:airflow:2.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "last_affected": "2.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.0",
            "providers-zendesk/2.0.0",
            "providers-yandex/2.0.0",
            "providers-vertica/2.0.0",
            "providers-trino/2.0.0",
            "providers-telegram/2.0.0",
            "providers-tableau/2.0.0",
            "providers-ssh/2.0.0",
            "providers-sqlite/2.0.0",
            "providers-snowflake/2.0.0",
            "providers-slack/4.0.0",
            "providers-singularity/2.0.0",
            "providers-sftp/2.0.0",
            "providers-sendgrid/2.0.0",
            "providers-segment/2.0.0",
            "providers-samba/2.0.0",
            "providers-salesforce/3.0.0",
            "providers-redis/2.0.0",
            "providers-qubole/2.0.0",
            "providers-presto/2.0.0",
            "providers-postgres/2.0.0",
            "providers-plexus/2.0.0",
            "providers-papermill/2.0.0",
            "providers-pagerduty/2.0.0",
            "providers-oracle/2.0.0",
            "providers-opsgenie/2.0.0",
            "providers-openfaas/2.0.0",
            "providers-odbc/2.0.0",
            "providers-neo4j/2.0.0",
            "providers-mysql/2.0.0",
            "providers-mongo/2.0.0",
            "providers-microsoft-winrm/2.0.0",
            "providers-microsoft-mssql/2.0.0",
            "providers-microsoft-azure/3.0.0",
            "providers-jira/2.0.0",
            "providers-jenkins/2.0.0",
            "providers-jdbc/2.0.0",
            "providers-imap/2.0.0",
            "providers-http/2.0.0",
            "providers-hashicorp/2.0.0",
            "providers-grpc/2.0.0",
            "providers-google/4.0.0",
            "providers-ftp/2.0.0",
            "providers-facebook/2.0.0",
            "providers-exasol/2.0.0",
            "providers-elasticsearch/2.0.1",
            "providers-docker/2.0.0",
            "providers-discord/2.0.0",
            "providers-dingding/2.0.0",
            "providers-datadog/2.0.0",
            "providers-databricks/2.0.0",
            "providers-cncf-kubernetes/2.0.0",
            "providers-cloudant/2.0.0",
            "providers-celery/2.0.0",
            "providers-asana/1.0.0",
            "providers-apache-sqoop/2.0.0",
            "providers-apache-spark/2.0.0",
            "providers-apache-pinot/2.0.0",
            "providers-apache-pig/2.0.0",
            "providers-apache-livy/2.0.0",
            "providers-apache-kylin/2.0.0",
            "providers-apache-hive/2.0.0",
            "providers-apache-hdfs/2.0.0",
            "providers-apache-druid/2.0.0",
            "providers-apache-cassandra/2.0.0",
            "providers-apache-beam/3.0.0",
            "providers-amazon/2.0.0",
            "providers-airbyte/2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26559.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:47.417542125Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/rd142565996d7ee847b9c14b8a9921dcf80bc6bc160e3d9dca6dfc2f8%40%3Cannounce.apache.org%3E",
        "https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-26559",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436539,
  "published_at": "2021-02-17T15:15:13.5+00:00"
}