---
id: CVE-2026-52820
title: Kimai is an open-source time tracking application
summary: >-
  Kimai is an open-source time tracking application. Prior to 2.57.0, PATCH
  /api/timesheets/{id} and POST /api/timesheets accept a user-controlled project
  identifier through TimesheetApiEditForm and FormTrait, and
  ProjectRepository::getQue…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-639
vendor: kimai
product: kimai
affected:
  - kimai < 2.57.0
patched:
  - kimai/kimai 2.57.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-52820'
references:
  - url: >-
      https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/pull/5929'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/releases/tag/2.57.0'
    label: security-advisories@github.com
  - url: 'https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc'
    label: security-advisories@github.com
  - url: 'https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-vrr2-g9gh-c3jc'
tags:
  - nvd
  - cve.org
  - ghsa
  - composer
epss: 0.0027
epssPercentile: 0.1942
aliases:
  - GHSA-vrr2-g9gh-c3jc
ecosystem: composer
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-15T12:41:48.870713Z'
cvssSource: cna
ingestedAt: '2026-07-14T00:31:48.560Z'
---

## Overview

Kimai is an open-source time tracking application. Prior to 2.57.0, PATCH /api/timesheets/{id} and POST /api/timesheets accept a user-controlled project identifier through TimesheetApiEditForm and FormTrait, and ProjectRepository::getQueryBuilderForFormType() places that identifier in an unconditional OR branch that bypasses the team access criteria. Any authenticated user with edit_own_timesheet can therefore assign an owned timesheet to a project outside the user's teams, persist unauthorized project attribution, and retrieve project and customer metadata through GET /api/timesheets/{id}?full=true. TimesheetTeamAccessValidator now checks changed project and activity associations against current team access. This issue is fixed in version 2.57.0.

## Remediation

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

## Package advisory (CVE-2026-52820)

Affected packages:

- `kimai/kimai <= 2.56.0`

Patched in:

- `kimai/kimai 2.57.0`

Source: https://github.com/advisories/GHSA-vrr2-g9gh-c3jc
