---
id: CVE-2026-52825
title: Kimai is an open-source time tracking application
summary: >-
  Kimai is an open-source time tracking application. Prior to 2.58.0, POST
  /api/teams/{id}/members/{userId} and POST
  /api/teams/{id}/activities/{activityId} verify that a teamlead may edit the
  Team but do not verify access_user for the ref…
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-52825'
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-xv4r-4885-gwpg'
    label: security-advisories@github.com
  - url: 'https://www.kimai.org/en/security/ghsa-xv4r-4885-gwpg'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-xv4r-4885-gwpg'
tags:
  - nvd
  - cve.org
  - ghsa
  - composer
epss: 0.0027
epssPercentile: 0.1942
aliases:
  - GHSA-xv4r-4885-gwpg
ecosystem: composer
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-15T12:34:13.742572Z'
cvssSource: cna
ingestedAt: '2026-07-14T00:31:48.464Z'
---

## Overview

Kimai is an open-source time tracking application. Prior to 2.58.0, POST /api/teams/{id}/members/{userId} and POST /api/teams/{id}/activities/{activityId} verify that a teamlead may edit the Team but do not verify access_user for the referenced User or view access for the referenced Activity. A teamlead can add users or activities outside the teamlead's manageable scope to an editable team, bypassing the narrower choices enforced by TeamEditForm and UserRepository::getQueryBuilderForFormType(). The resulting relationships can be trusted by RolePermissionManager::checkTeamAccessActivity() and other team-based authorization, visibility, reporting, and workflow logic. 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-52825)

Affected packages:

- `kimai/kimai <= 2.57.0`

Patched in:

- `kimai/kimai 2.58.0`

Source: https://github.com/advisories/GHSA-xv4r-4885-gwpg
