CVE-2026-52820 PUBLISHED

Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 15.09.2026 Updated: 15.09.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor kimai
Product kimai
Versions
  • Version < 2.57.0 is affected

References

Problem Types

  • CWE-639: Authorization Bypass Through User-Controlled Key CWE