---
id: CVE-2026-100502
title: >-
  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
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.
  At…
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N'
cwe:
  - CWE-613
vendor: pawelmalak
product: flame
affected:
  - flame <= 2.4.0
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T22:17:10.947'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100502'
references:
  - url: 'https://github.com/pawelmalak/flame'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/pawelmalak/flame/blob/v2.4.0/controllers/auth/login.js#L9-L17
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/pawelmalak/flame/blob/v2.4.0/utils/init/initSecret.js#L8-L25
    label: disclosure@vulncheck.com
  - url: 'https://github.com/pawelmalak/flame/blob/v2.4.0/utils/signToken.js#L4'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/pawelmalak/flame/issues/494'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/flame-through-2.4.0-admin-token-insufficient-session-expiration
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T22:20:31.555Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
