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.
Published: 2026-10-15
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Session Persists after Logout
Action: Patch
AI Analysis

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.

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

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 yet.

History

Wed, 21 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow Keycloak Provider
Vendors & Products Apache
Apache airflow Keycloak Provider

Fri, 16 Oct 2026 15:30:00 +0000

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'}


Fri, 16 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
References

Fri, 16 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
References

Thu, 15 Oct 2026 22:00:00 +0000

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

Subscriptions

Apache Airflow Keycloak Provider
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-16T14:50:50.600Z

Reserved: 2026-09-23T16:52:57.591Z

Link: CVE-2026-96806

cve-icon Vulnrichment

Updated: 2026-10-16T00:16:36.174Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T22:21:19.090

Modified: 2026-10-16T15:20:39.130

Link: CVE-2026-96806

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:15:05Z

Weaknesses
  • CWE-613

    Insufficient Session Expiration