# CVE-2026-82311: Apache Airflow FAB provider: FAB password reset never invalidates sessions: string/int _user_id comparison is always false

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2026-09-16T09:00:38.459Z
- Modified: 2026-09-18T14:28:43.283Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-fab: from 2.4.2 before 3.9.0
- apache apache-airflow-providers-fab: from 2.4.2 before 3.9.0

## References

- <https://github.com/apache/airflow/pull/72198> (patch, vendor-advisory)
- <https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw?users@airflow.apache.org> (mailing-list, vendor-advisory)
- <https://www.cve.org/CVERecord?id=CVE-2026-86462> (related, third-party-advisory)
- <https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2026-82311](https://www.cve.org/CVERecord?id=CVE-2026-82311), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-82311](https://nvd.nist.gov/vuln/detail/CVE-2026-82311), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-82311 · Whole record: https://cve.day/CVE-2026-82311.json · Rebuilt by cve.day 2026-11-25T22:59:38.917Z
