CVE-2026-96806

Apache Airflow Keycloak provider: Keycloak auth manager: logout does not invalidate the session — JWTMiddleware mints an unrevoked replacement token

Published Oct 15, 2026 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
Description
The Apache Airflow Keycloak auth manager did not end the session on logout: the logout route revoked the presented token, but `KeycloakJWTMiddleware` then issued a new, unrevoked token on the same response, so the user stayed logged in. Deployments using the Keycloak auth manager are affected: after a user logs out, anyone with later access to the same browser (for example on a shared workstation) can continue to act as that user.

Users of apache-airflow-providers-keycloak are recommended to upgrade to apache-airflow-providers-keycloak 0.11.1 or later.

Analysis

AI-generated

Technical impact

The Apache Airflow Keycloak provider contains a flaw that allows a user to remain authenticated even after requesting logout. When the logout endpoint revokes the presented token, the KeycloakJWTMiddleware component incorrectly issues a fresh, unrevoked token within the same response. Consequently, the browser continues to carry valid credentials, letting an attacker or another user who later accesses the same browser act as the original user. This flaw effectively bypasses the logout process without creating a new session, allowing unauthorized access to Airflow tasks and data.

Affected Systems

Any deployment that uses the Apache Airflow Keycloak auth manager is affected. The vendor package Apache Airflow Keycloak provider (apache-airflow-providers-keycloak) before version 0.11.1 is vulnerable. Upgrading to version 0.11.1 or later mitigates the issue.

Risk and Exploitability

The EPSS score is < 1%, and the vulnerability is not listed in CISA KEV. The flaw grants persistent authorized access on any workstation that retains the browser session after logout, making the vulnerability particularly dangerous in environments with shared or unattended terminals. The CVSS score of 5.8 indicates moderate severity, but the impact remains significant; any attack leading to session takeover can be leveraged for further exploitation of Airflow functionality. In the absence of explicit exploitation instructions, the attack vector is inferred to be local or remote via compromised browser sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the apache-airflow-providers-keycloak package to version 0.11.1 or newer, which removes the middleware issue that reissues tokens after logout.
  • Confirm that the logout request triggers proper token revocation and that no new JWTs are issued; if the logout endpoint still returns a token, block that response or override the middleware to prevent token issuance.
  • Implement additional session management controls such as short token lifetimes and force browser session expiration on logout, especially in shared or public workstations, to limit the window for potential misuse while mitigation updates are deployed.

Generated by OpenCVE AI on October 16, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache airflow Keycloak Provider
Vendors & Products Apache
Apache airflow Keycloak Provider
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Apache Airflow Keycloak auth manager did not end the session on logout: the logout route revoked the presented token, but `KeycloakJWTMiddleware` then issued a new, unrevoked token on the same response, so the user stayed logged in. Deployments using the Keycloak auth manager are affected: after a user logs out, anyone with later access to the same browser (for example on a shared workstation) can continue to act as that user. Users of apache-airflow-providers-keycloak are recommended to upgrade to apache-airflow-providers-keycloak 0.11.1 or later.
Title Apache Airflow Keycloak provider: Keycloak auth manager: logout does not invalidate the session — JWTMiddleware mints an unrevoked replacement token
Weaknesses CWE-613
References
Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 16, 2026, 2:50 PM
Reserved
Sep 23, 2026, 4:52 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 10:21 PM
Modified
Oct 16, 2026, 3:20 PM