{"id":"CVE-2026-82311","state":"PUBLISHED","title":"Apache Airflow FAB provider: FAB password reset never invalidates sessions: string/int _user_id comparison is always false","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.\n\nAffects 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.\n\napache-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.\n\nUsers of apache-airflow-providers-fab are recommended to upgrade to version 3.9.0 or later, which compares the identifiers consistently.","publishedAt":"2026-09-16T09:00:38.459Z","updatedAt":"2026-09-17T19:27:29.873Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Airflow FAB provider"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow FAB provider","packageName":"apache-airflow-providers-fab","packageURL":"pkg:pypi/apache-airflow-providers-fab","defaultStatus":"unaffected","versions":[{"version":"2.4.2","status":"affected","lessThan":"3.9.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":["https://github.com/apache/airflow/pull/72198","https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw?users@airflow.apache.org","https://www.cve.org/CVERecord?id=CVE-2026-86462","https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw"],"weaknesses":["CWE-613"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82311.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82311","state":"PUBLISHED","datePublished":"2026-09-16T09:00:38.459Z","dateUpdated":"2026-09-17T19:27:29.873Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-08-28T12:58:33.571Z"},"containers":{"cna":{"title":"Apache Airflow FAB provider: FAB password reset never invalidates sessions: string/int _user_id comparison is always false","descriptions":[{"lang":"en","value":"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.\n\nAffects 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.\n\napache-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.\n\nUsers of apache-airflow-providers-fab are recommended to upgrade to version 3.9.0 or later, which compares the identifiers consistently."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow FAB provider","packageName":"apache-airflow-providers-fab","packageURL":"pkg:pypi/apache-airflow-providers-fab","defaultStatus":"unaffected","versions":[{"version":"2.4.2","status":"affected","lessThan":"3.9.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://github.com/apache/airflow/pull/72198","tags":["patch"]},{"url":"https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw?users@airflow.apache.org","tags":["vendor-advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-86462","tags":["related"]},{"url":"https://lists.apache.org/thread/mmplwl93shy615shkpp9p4fzyjvr4yqw","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-613","description":"CWE-613: Insufficient Session Expiration","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-09-16T14:54:52.025Z"},"credits":[{"lang":"en","type":"finder","value":"Mayank Jangid (OpenSec)"},{"lang":"en","type":"remediation developer","value":"Jarek Potiuk"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"airflow-s/generate_cve_json.py"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T19:26:29.021619Z","id":"CVE-2026-82311","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-17T19:27:29.873Z"}}]}}}