CVE-2026-52825
Kimai has Improper Authorization in Team Member and Team Activity Assignment APIs Which Allows Expansion of Team Scope Beyond Authorized Visibility
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | kimai/kimai | <= 2.57.0 | 2.58.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-xv4r-4885-gwpg
- https://github.com/kimai/kimai/security/advisories/GHSA-xv4r-4885-gwpg
- https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601
- https://github.com/kimai/kimai/pull/5952
- https://github.com/kimai/kimai/releases/tag/2.58.0
- https://www.kimai.org/en/security/ghsa-xv4r-4885-gwpg