Skip to main content
VulnerabilityPublished

CVE-2026-52827: Pre-2FA KIMAI_SESSION cookie grants full authenticated REST API access, bypassing TOTP

Affects kimai/kimaiSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 2.59.0 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.59.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade kimai/kimai to 2.59.0.

Affected software

ProductAffectedFixed in
Packagistkimai/kimaiAffected
  • <2.59.0
Fixed in
  • 2.59.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Kimai version 2.59.0 and later. The API firewall now requires IS_AUTHENTICATED_REMEMBERED, which is only granted after successful 2FA completion. The API authorization logic has been updated to deny access if the user is currently in the 2FA step. Users and administrators should upgrade to version 2.59.0 or later to remediate this vulnerability. No additional mitigations are required once patched.

Description

Kimai versions prior to 2.59.0 have a vulnerability where the KIMAI_SESSION cookie issued after password verification but before completing two-factor authentication (2FA) grants full authenticated REST API access, effectively bypassing the TOTP second factor. This allows an attacker who knows the user's password to access the API without the second factor. The issue arises because the API firewall accepts the session cookie as authenticated before 2FA is completed. The vulnerability is fixed by requiring a higher authentication level after 2FA and updating the API authorization checks.

References

Community reviews

Loading reviews…