---
id: CVE-2026-52827
title: Kimai is an open-source time tracking application
summary: >-
  Kimai is an open-source time tracking application. Prior to 2.59.0, the
  KIMAI_SESSION cookie issued after password verification but before TOTP
  completion is accepted by every /api route because
  config/packages/security.yaml protects the…
severity: high
cvss: 7.1
cvssVector: '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'
cwe:
  - CWE-287
vendor: kimai
product: kimai
affected:
  - kimai < 2.59.0
patched:
  - kimai/kimai 2.59.0
published: '2026-09-15'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T17:17:19.897'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52827'
references:
  - url: >-
      https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/pull/5957'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/releases/tag/2.59.0'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96'
    label: security-advisories@github.com
  - url: 'https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-v8hx-4vx8-wc96'
tags:
  - nvd
  - cve.org
  - ghsa
  - composer
epss: 0.00576
epssPercentile: 0.45159
aliases:
  - GHSA-v8hx-4vx8-wc96
ecosystem: composer
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-16T16:08:13.022512Z'
cvssSource: cna
ingestedAt: '2026-07-14T01:32:35.859Z'
---

## Overview

Kimai is an open-source time tracking application. Prior to 2.59.0, the KIMAI_SESSION cookie issued after password verification but before TOTP completion is accepted by every /api route because config/packages/security.yaml protects the API with IS_AUTHENTICATED and App\API\Authentication\ApiRequestMatcher routes an existing session through the main firewall. A Scheb TwoFactorToken satisfies that access rule, and App\Voter\ApiVoter grants API access to its User, allowing an attacker with a valid account password to use authenticated REST API operations without entering the second factor even though web routes remain blocked. This issue is fixed in version 2.59.0.

## Remediation

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

## Package advisory (CVE-2026-52827)

Affected packages:

- `kimai/kimai < 2.59.0`

Patched in:

- `kimai/kimai 2.59.0`

Source: https://github.com/advisories/GHSA-v8hx-4vx8-wc96
