CVE-2026-39924
Flarum before 1.8.16 contains an improper session invalidation …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/flarum/framework/commit/5f080293a029d0d273eb9678d597c74ea86a3bcc
- github.com/flarum/framework/pull/4546
- github.com/flarum/framework/releases/tag/v1.8.16
- www.vulncheck.com/advisories/flarum-session-persistence-via-improper-access-token-revocati
- nvd.nist.gov/vuln/detail/CVE-2026-39924
- cve.org/CVERecord?id=CVE-2026-39924
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.