CVE-2026-100502
5.9
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| pawelmalak | flame | 0 <= 2.4.0 | affected |
Weaknesses
- CWE-613: Insufficient Session Expiration
References
- https://github.com/pawelmalak/flame/issues/494
- https://github.com/pawelmalak/flame/blob/v2.4.0/controllers/auth/login.js#L9-L17
- https://github.com/pawelmalak/flame/blob/v2.4.0/utils/signToken.js#L4
- https://github.com/pawelmalak/flame/blob/v2.4.0/utils/init/initSecret.js#L8-L25
- https://github.com/pawelmalak/flame
- https://www.vulncheck.com/advisories/flame-through-2.4.0-admin-token-insufficient-session-expiration
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.