Description
Flame through 2.4.0 contains an insufficient session expiration vulnerability in the login endpoint that allows attackers with former admin access to obtain tokens with arbitrary lifespans by supplying unvalidated duration parameters. Attackers can mint near-permanent administrator tokens that survive password changes, retaining full control of the dashboard since tokens are verified only against a static JWT secret that is never rotated.
References7
- github.com/pawelmalak/flame
- github.com/pawelmalak/flame/blob/v2.4.0/controllers/auth/login.…
- github.com/pawelmalak/flame/blob/v2.4.0/utils/init/initSecret.j…
- github.com/pawelmalak/flame/blob/v2.4.0/utils/signToken.js#L4
- github.com/pawelmalak/flame/issues/494
- www.vulncheck.com/advisories/flame-through-2.4.0-admin-token-in…
- github.com/pawelmalak/flame/issues/494
Metrics
- CVSS 3.1
-
5.0
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N - CVSS 4.0
-
5.9
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/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 - EPSS — exploit probability
- 0% percentile: 30 · as of 9 November 2026
- CWE
- CWE-613
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.