{"id":"CVE-2026-39924","summary":"Flarum \u003c 1.8.16 Session Persistence via Improper Access Token Revocation","details":"Flarum before 1.8.16 contains an improper session invalidation vulnerability that allows attackers who hold a valid session token to retain full account access after a victim changes their password, because the access_tokens table is never cleared on password change events. The TokensClearer::clearPasswordTokens() function only removes rows from the password_tokens table while leaving all active session cookies and API bearer tokens intact, including long-lived RememberAccessToken entries, and administrator-forced password resets via the user update endpoint are equally ineffective at revoking attacker-held sessions.","modified":"2026-08-12T03:51:22.136443740Z","published":"2026-08-05T14:40:27.741Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39924.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39924.json"},{"type":"ADVISORY","url":"https://github.com/flarum/framework/releases/tag/v1.8.16"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39924"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/flarum-session-persistence-via-improper-access-token-revocation"},{"type":"REPORT","url":"https://github.com/flarum/framework/pull/4546"},{"type":"FIX","url":"https://github.com/flarum/framework/commit/5f080293a029d0d273eb9678d597c74ea86a3bcc"},{"type":"PACKAGE","url":"https://github.com/flarum/framework"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flarum/framework","events":[{"introduced":"0"},{"fixed":"a2260e4a62f21591e1a9ae9b11c7db07c6507766"},{"fixed":"5f080293a029d0d273eb9678d597c74ea86a3bcc"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.8.16"}]}}],"versions":["v1.8.15","v1.8.14","v1.8.13","v1.8.12","v1.8.11","v1.8.10","v1.8.9","v1.8.8","v1.8.7","v1.8.6","v1.8.5","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.1","v1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39924.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}