Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-52820Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass
Medium 5.3
In plain English
A medium-severity authorization bypass via user-controlled key in kimai from kimai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | kimai/kimai | 2.57.0 | GHSA-vrr2-g9gh-c3jc |
Affected products (as reported)
Weakness: CWE-639 · Vector: 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
References
- https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc x_refsource_CONFIRM
- https://github.com/kimai/kimai/pull/5929 x_refsource_MISC
- https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849 x_refsource_MISC
- https://github.com/kimai/kimai/releases/tag/2.57.0 x_refsource_MISC
- https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc x_refsource_MISC