Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
AV:N for remote exploitation via network token reuse; AC:H for mandatory prior session token acquisition; PR:L for required authenticated session; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Session persistence after password change in Flarum before 1.8.16 allows an attacker who already holds a valid session token to maintain full account access indefinitely, even after the victim resets their password. The TokensClearer::clearPasswordTokens() function clears only the password_tokens table and never touches the access_tokens table, so all active session cookies, API bearer tokens, and long-lived RememberAccessToken entries survive both user-initiated and administrator-forced password resets. No public exploit has been identified at time of analysis; vendor-released patch v1.8.16 resolves the issue.
Technical ContextAI
Flarum is a PHP-based open-source forum framework (CPE: cpe:2.3:a:flarum:flarum_framework:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-613 (Insufficient Session Expiration): Flarum maintains two logically separate database stores - password_tokens for password-reset flow tokens and access_tokens for active authenticated sessions including persistent 'remember me' entries (RememberAccessToken). The password change event handler invokes TokensClearer::clearPasswordTokens(), which exclusively targets the password_tokens table. Because the access_tokens table is never cleared on credential change, any session token or API bearer token obtained by an attacker prior to the password reset remains cryptographically valid and grants full authenticated API access indefinitely. This flaw applies equally to administrator-forced password resets issued via the user update endpoint, meaning the standard administrative remediation path is also ineffective.
RemediationAI
Upgrade Flarum to version 1.8.16 or later, available at https://github.com/flarum/framework/releases/tag/v1.8.16. This release includes PR #4546 (commit 5f080293a029d0d273eb9678d597c74ea86a3bcc) which specifically fixes the access_tokens table not being cleared on password change. The same release also addresses a related expiry-check bypass on password reset token submission (PR #4545) and stale token cleanup (PR #4547), making the full upgrade strongly advisable over cherry-picking individual fixes. If immediate upgrade is not possible, a targeted compensating control is to manually delete all rows from the access_tokens table in the Flarum database for any user account suspected of compromise - note this will log out all of that user's active sessions including legitimate ones. Forum-wide deletion of all access_tokens rows is a more disruptive but effective interim measure that forces all users to re-authenticate; the trade-off is operational disruption to all active sessions.
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Flarum is a forum software for building communities. Rated critical severity (CVSS 10.0), this vulnerability is remotely
Account takeover in Flarum forum software before 1.8.16 lets remote unauthenticated attackers reuse expired password res
Flarum before 0.1.0-beta.9 allows CSRF against all POST endpoints, as demonstrated by changing admin settings. Rated hig
Flarum is a forum software for building communities. Rated medium severity (CVSS 4.3), this vulnerability is remotely ex
User/Command/ConfirmEmailHandler.php in Flarum before 0.1.0-beta.8 mishandles invalidation of user email tokens. Rated h
Flarum is an open source forum software. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, low
Flarum is open-source forum software. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no a
Flarum is a forum software for building communities. Rated medium severity (CVSS 5.4), this vulnerability is remotely ex
Flarum is an open source discussion platform. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitab
Flarum is an open source discussion platform for websites. Rated medium severity (CVSS 5.4), this vulnerability is remot
In Flarum Core 0.1.0-beta.7.1, a serious leak can get everyone's email address. Rated medium severity (CVSS 5.3), this v
Same weakness CWE-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53392
GHSA-4x2h-wcjq-p974