---
id: CVE-2026-52822
title: Kimai is an open-source time tracking application
summary: >-
  Kimai is an open-source time tracking application. Prior to 2.58.0, PATCH
  /api/timesheets/{id}/restart, PATCH /api/timesheets/{id}/duplicate, and the
  web duplicate workflow can derive a new record from an owned historical
  timesheet after…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-285
  - CWE-862
vendor: kimai
product: kimai
affected:
  - kimai < 2.58.0
patched:
  - kimai/kimai 2.58.0
published: '2026-09-15'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T18:22:16.503'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52822'
references:
  - url: >-
      https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/pull/5952'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/releases/tag/2.58.0'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/security/advisories/GHSA-c6w6-57jj-62vh'
    label: security-advisories@github.com
  - url: 'https://www.kimai.org/en/security/ghsa-c6w6-57jj-62vh'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-c6w6-57jj-62vh'
tags:
  - nvd
  - cve.org
  - ghsa
  - composer
epss: 0.00356
epssPercentile: 0.294
aliases:
  - GHSA-c6w6-57jj-62vh
ecosystem: composer
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-15T13:25:08.014876Z'
cvssSource: cna
ingestedAt: '2026-07-14T00:31:48.521Z'
---

## Overview

Kimai is an open-source time tracking application. Prior to 2.58.0, PATCH /api/timesheets/{id}/restart, PATCH /api/timesheets/{id}/duplicate, and the web duplicate workflow can derive a new record from an owned historical timesheet after the user's access to its project or activity has been revoked. TimesheetVoter evaluates the own-timesheet permission before current team access, and its canStart() logic validates object visibility but does not verify the user's current team access to the referenced project and activity. An old entry therefore acts as a persistent capability to create new time records under an unauthorized project and activity, corrupting budgets, statistics, reports, and invoices after an administrative revocation. This issue is fixed in version 2.58.0.

## Remediation

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

## Package advisory (CVE-2026-52822)

Affected packages:

- `kimai/kimai <= 2.57.0`

Patched in:

- `kimai/kimai 2.58.0`

Source: https://github.com/advisories/GHSA-c6w6-57jj-62vh
