CVE-2026-52820
MEDIUM 5.3CVSS 4.0Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass
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.
- Published
- 15 Sep 2026
- Last modified
- 23 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-639
- Also known as
- GHSA-vrr2-g9gh-c3jc
- Sources
- NVDJSONOSV GHSA-vrr2-g9gh-c3jcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | kimai/kimai | < 2.57.0 | 2.57.0 |
References
- https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849
- https://github.com/kimai/kimai/pull/5929
- https://github.com/kimai/kimai/releases/tag/2.57.0
- https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc · WEB
- https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc
- https://github.com/kimai/kimai · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Jul 2026)