{"id":"CVE-2026-52820","published":"2026-09-15T10:37:17Z","modified":"2026-09-15T12:42:21Z","title":"Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00449,"percentile":0.39893,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/pull/5929","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.57.0","tags":["x_refsource_MISC"]},{"url":"https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":7.98},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":["< 2.57.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T12:41:48.870713Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":["<2.57.0"],"patched":["2.57.0"],"from":["GHSA-vrr2-g9gh-c3jc"],"provenance":"source"}],"summary":{"text":"Kimai's timesheet PATCH and POST API endpoints accept a user-controlled project identifier, and the query builder used to validate it contains an unconditional OR branch that bypasses team access checks. An attacker with a network-reachable, authenticated account holding the edit_own_timesheet permission can assign their timesheets to projects outside their teams, persist that attribution, and read project and customer metadata via the full=true timesheet GET parameter, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:19Z"},"euvd":{"id":"EUVD-2026-78399","exploited":false,"provenance":"source"}}