The Apache Software Foundation has released a security advisory for CVE-2026-75156 (CVSS score 8.8, High), an authorization bypass and privilege escalation vulnerability in the Apache Airflow Flask-AppBuilder (FAB) Provider (apache-airflow-providers-fab). The flaw enables standard corporate users authenticating via Single Sign-On (SSO) to inadvertently or maliciously obtain superuser Admin permissions within Apache Airflow webservers.

Executive Threat Summary & Exploit Landscape

Apache Airflow is the standard orchestrator for big data engineering, machine learning pipelines, and ETL infrastructure. To manage user access, Airflow decouples web UI authorization into the Flask-AppBuilder provider, allowing integration with enterprise Identity Providers (Okta, Azure AD, Ping Identity, Keycloak) using OAuth2 and OpenID Connect.

Under CVE-2026-75156, when an identity provider returns multi-valued group claims or nested role arrays in the OAuth token response, the FAB provider's mapping logic failed to reject unrecognized claims, falling back to the AUTH_USER_REGISTRATION_ROLE default, which in many enterprise configurations was mistakenly assigned broad permissions. An attacker with standard corporate intranet credentials could exploit this behavior to achieve full Airflow Admin status, allowing them to create malicious Directed Acyclic Graphs (DAGs) and execute arbitrary code on worker nodes.

Vulnerability Mechanics & Technical Root Cause (CWE-285)

The vulnerability exists in airflow/providers/fab/auth_manager/security_manager/override.py. During user registration and role synchronization, the method sync_roles() evaluates incoming OIDC group claims against the configured role dictionary:

# Vulnerable Role Mapping Logic
def get_oauth_user_roles(self, userinfo):
    claims = userinfo.get("groups", [])
    matched_roles = []
    # VULNERABILITY: If claims are formatted as a dictionary or nested array,
    # type coercion causes comparison failure and bypasses security allowlists
    for claim in claims:
        if claim in self.role_mapping:
            matched_roles.append(self.role_mapping[claim])
    # Fallback assignment when matched_roles is unexpectedly evaluated as empty
    return matched_roles or [self.default_role]

Because the comparison failed to handle structured JSON objects returned by modern identity providers, users who should have been denied access or assigned read-only viewer roles received privileged administrative access, granting complete control over enterprise data pipelines.

Vulnerable Software Versions & Patch Status Matrix

Package / Component Vulnerable Versions Fixed Release Upgrade Status
apache-airflow-providers-fab Versions prior to 1.4.1 Version 1.4.1 or later Patch Live (PyPI)
Apache Airflow Core (Reference) Airflow 2.8.0 through 2.10.x Upgrade FAB provider Provider Update

Step-by-Step Remediation Playbook & Patch Commands

Data engineering and DevOps teams should immediately upgrade the FAB provider package across Airflow webservers and scheduler pods:

  1. Upgrade via pip in Python Virtualenvs or Dockerfiles:
    # Upgrade provider package
    pip install --upgrade "apache-airflow-providers-fab>=1.4.1"
    
    # Verify installed provider version
    pip show apache-airflow-providers-fab
    # Ensure Version is 1.4.1 or higher
  2. Docker / Kubernetes Helm Chart Deployment: Update your customized Airflow Docker image build:
    FROM apache/airflow:2.10.2
    RUN pip install --no-cache-dir "apache-airflow-providers-fab>=1.4.1"
  3. Audit webserver_config.py: Ensure AUTH_USER_REGISTRATION_ROLE is explicitly set to "Public" or "Viewer" rather than "Admin":
    # In webserver_config.py
    AUTH_USER_REGISTRATION = True
    AUTH_USER_REGISTRATION_ROLE = "Viewer" # Never set to Admin

Threat Detection, Log Auditing & Forensic Queries

Query the Airflow metadata database (PostgreSQL/MySQL) to detect users unexpectedly assigned the Admin role:

-- Query Airflow Metadata DB for anomalous Admin users
SELECT u.username, u.email, r.name AS role_name, u.created_on
FROM ab_user u
JOIN ab_user_role ur ON u.id = ur.user_id
JOIN ab_role r ON ur.role_id = r.id
WHERE r.name = 'Admin'
ORDER BY u.created_on DESC;