Skip to main content

Flarum EUVDEUVD-2026-53392

| CVE-2026-39924 HIGH
Insufficient Session Expiration (CWE-613)
2026-08-05 VulnCheck GHSA-4x2h-wcjq-p974
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain victim's Flarum session token via phishing or XSS
  2. Delivery
    Authenticate to forum using stolen token
  3. Exploit
    Victim detects intrusion and changes account password
  4. Execution
    access_tokens table left uncleared by password change handler
  5. Persist
    Attacker's token remains fully valid
  6. Impact
    Retain persistent authenticated access to victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

The attacker must first acquire a valid session token or API bearer token for the target account through a separate prior compromise - credential theft, phishing, session hijacking, or XSS are all viable precursors. No special non-default Flarum configuration is required beyond the attacker already holding that initial token; any Flarum instance prior to v1.8.16 with the default session management is affected. The 'remember me' feature (which generates long-lived RememberAccessToken entries) extends the window of persistent unauthorized access but is not strictly required for exploitation. Exploitation is limited by the AC:H prerequisite: the initial token acquisition is a hard dependency that reduces the at-scale risk significantly. Victims who attempt recovery by requesting an administrator-forced password reset via the user update endpoint receive no protection, as that code path also fails to clear the access_tokens table.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) accurately characterizes this as a high-impact but conditionally exploitable vulnerability. AC:H is the critical limiting factor: the attacker must first successfully obtain a valid session token through a separate prior compromise event before this vulnerability becomes relevant. This makes it a post-compromise persistence mechanism, not an initial access vector - the attacker has already breached the account, and this flaw prevents the victim from evicting them. No CISA KEV listing is present, no POC has been publicly identified, and no EPSS data was provided, so mass or opportunistic exploitation is not currently confirmed. The real-world risk is concentrated in scenarios of targeted account takeover where the victim's natural recovery action (password change) is expected to terminate attacker access but does not. The high VC and VI scores are justified given that retained session tokens grant full read/write access to the account and its privileges. The absence of an availability impact (VA:N) is consistent with the description - this is an access-retention flaw, not a denial of service.

Exploit ScenarioDerived

An attacker who previously obtained a valid Flarum session token through credential stuffing, phishing, or an XSS-based session hijack discovers that the victim has changed their password to recover their account. Because the access_tokens table is never purged on password change, the attacker's stolen RememberAccessToken or API bearer token remains valid, granting continued full access to the account including posting, moderation actions, and private message access. If the compromised account held administrative privileges, the attacker retains those privileges indefinitely until the patch is applied or tokens are manually purged from the database.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

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.

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.

Affected VersionsENISA

Flarum Framework 0 <1.8.16

Affected Packages

euvd flarum_framework fix: 1.8.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Flarum gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Executive ViewAI

Why It Matters

Flarum before v1.8.16 contains a privilege persistence flaw where attackers who obtain any valid user session can maintain indefinite access even after the victim resets their password, rendering standard account recovery procedures ineffective. For any organization operating Flarum, this vulnerability means that password resets-a fundamental control for incident response-cannot be relied upon to evict compromised attackers from user accounts.

Business Impact: High
Compensating Controls

Apply vendor patch v1.8.16. As an interim measure only, manually clear all active sessions and access tokens system-wide, though note this is operationally intensive and password reset alone provides no protection against this vulnerability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source forum software, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Flarum

View all
CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2026-92161 CRITICAL POC
9.8 Sep 25

Unauthenticated account takeover in the FriendsOfFlarum OAuth extension (fof/oauth) for Flarum, affecting versions prior

CVE-2021-32671 CRITICAL
10.0 Jun 07

Flarum is a forum software for building communities. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2026-39923 CRITICAL
9.2 Aug 05

Account takeover in Flarum forum software before 1.8.16 lets remote unauthenticated attackers reuse expired password res

CVE-2019-13183 HIGH
8.8 Jul 07

Flarum before 0.1.0-beta.9 allows CSRF against all POST endpoints, as demonstrated by changing admin settings. Rated hig

CVE-2023-22487 MEDIUM POC
4.3 Jan 11

Flarum is a forum software for building communities. Rated medium severity (CVSS 4.3), this vulnerability is remotely ex

CVE-2019-11514 HIGH
7.5 Apr 25

User/Command/ConfirmEmailHandler.php in Flarum before 0.1.0-beta.8 mishandles invalidation of user email tokens. Rated h

CVE-2023-40033 HIGH
7.1 Aug 16

Flarum is an open source forum software. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, low

CVE-2026-112291 MEDIUM
6.9 Oct 19

Unauthenticated information disclosure in Flarum Extension Manager 2.0.0-beta.1 through 2.0.0-beta.7 allows remote attac

CVE-2025-27794 MEDIUM
6.8 Mar 12

Flarum is open-source forum software. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no a

CVE-2023-22488 MEDIUM
5.4 Jan 12

Flarum is a forum software for building communities. Rated medium severity (CVSS 5.4), this vulnerability is remotely ex

CVE-2022-41938 MEDIUM
5.4 Nov 19

Flarum is an open source discussion platform. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitab

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy