CVE-2026-82311

Apache Airflow FAB provider: FAB password reset never invalidates sessions: string/int _user_id comparison is always false

Published Sep 16, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Apache Airflow FAB provider: resetting a user's password does not delete that user's existing database-backed sessions, despite documented behaviour that it does. The cleanup compares the string identifier Flask-Login stores in the session against the user's integer database identifier, so the comparison never matches and no session is removed. An attacker who already holds a copy of the victim's session cookie keeps access as that user after the password change, so the reset does not evict them.

Affects deployments using the FAB auth manager with `[fab] session_backend=database`. The trigger is an administrator (or the user) running the supported password-reset command as a containment action after a session cookie has been compromised; the secure-cookie backend is out of scope, as it documents that it cannot centrally delete sessions.

apache-airflow-providers-fab 3.9.0 also fixes CVE-2026-86462, a second, independent route to the same outcome via the Admin user-edit endpoint; a single upgrade closes both.

Users of apache-airflow-providers-fab are recommended to upgrade to version 3.9.0 or later, which compares the identifiers consistently.

Analysis

AI-generated

Technical impact

Resetting a user's password in the Apache Airflow FAB provider does not invalidate existing database‑backed sessions because the cleanup logic compares a string session identifier stored by Flask‑Login with an integer user identifier in the database, causing the comparison to always fail. As a result, an attacker who has a valid session cookie can continue to act as that user even after a password reset. This flaw violates the documented expectation that a password reset should revoke all active sessions, exposing the account to persistent unauthorized access.

Affected Systems

The vulnerability affects deployments that use the FAB authentication manager with the database session backend (the default when `[fab] session_backend=database` is configured). Any installation of apache‑airflow‑providers‑fab prior to version 3.9.0 is susceptible. The issue does not apply to the secure‑cookie backend, which is explicitly acknowledged as incapable of centrally deleting sessions. Versions 3.9.0 and later include a fix that consistently compares identifiers and removes compromised sessions after a password reset.

Risk and Exploitability

Exploitation requires an attacker to possess a valid session cookie; simply resetting the password does not provide new access. The EPSS score of < 1 % indicates a very low probability of widespread exploitation, yet the CVSS score of 9.8 reflects the severe impact if an account is already compromised. The flaw is not listed in CISA’s KEV catalog, but it remains a high‑risk condition for any account that has had a session stolen. Attackers commonly obtain session cookies through phishing, web‑application attacks, or social engineering, and then trigger a password reset via an admin or the user themselves, enabling permanent session persistence.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade apache‑airflow‑providers‑fab to version 3.9.0 or newer so that the cleanup logic properly invalidates sessions after a password reset.
  • Manually delete database session rows associated with the compromised user if the upgrade cannot be applied immediately, ensuring no lingering sessions remain.
  • Continuously monitor Airflow logs for session activity after password resets and enforce strict session‑revocation procedures to detect any unauthorized persistence.

Generated by OpenCVE AI on September 18, 2026 at 12:03 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-providers-fab
CPEs cpe:2.3:a:apache:apache-airflow-providers-fab:*:*:*:*:*:*:*:*
Vendors & Products Apache apache-airflow-providers-fab
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
First Time appeared Apache
Apache airflow Fab Provider
Vendors & Products Apache
Apache airflow Fab Provider
Type Values Removed Values Added
Description Apache Airflow FAB provider: resetting a user's password does not delete that user's existing database-backed sessions, despite documented behaviour that it does. The cleanup compares the string identifier Flask-Login stores in the session against the user's integer database identifier, so the comparison never matches and no session is removed. An attacker who already holds a copy of the victim's session cookie keeps access as that user after the password change, so the reset does not evict them. Affects deployments using the FAB auth manager with `[fab] session_backend=database`. The trigger is an administrator (or the user) running the supported password-reset command as a containment action after a session cookie has been compromised; the secure-cookie backend is out of scope, as it documents that it cannot centrally delete sessions. apache-airflow-providers-fab 3.9.0 also fixes CVE-2026-86462, a second, independent route to the same outcome via the Admin user-edit endpoint; a single upgrade closes both. Users of apache-airflow-providers-fab are recommended to upgrade to version 3.9.0 or later, which compares the identifiers consistently.
Title Apache Airflow FAB provider: FAB password reset never invalidates sessions: string/int _user_id comparison is always false
Weaknesses CWE-613
References
Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 17, 2026, 7:27 PM
Reserved
Aug 28, 2026, 12:58 PM
Status
Analyzed
Published
Sep 16, 2026, 9:17 AM
Modified
Sep 18, 2026, 2:28 PM