{"id":"CVE-2026-52820","state":"PUBLISHED","title":"Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass","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.","publishedAt":"2026-09-15T10:37:17.720Z","updatedAt":"2026-09-15T12:42:21.215Z","severity":{"score":5.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["kimai kimai"],"affected":[{"vendor":"kimai","product":"kimai","versions":[{"version":"< 2.57.0","status":"affected"}]}],"references":["https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc","https://github.com/kimai/kimai/pull/5929","https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849","https://github.com/kimai/kimai/releases/tag/2.57.0","https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52820.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52820","state":"PUBLISHED","datePublished":"2026-09-15T10:37:17.720Z","dateUpdated":"2026-09-15T12:42:21.215Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-08T18:11:06.661Z"},"containers":{"cna":{"title":"Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass","descriptions":[{"lang":"en","value":"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":[{"vendor":"kimai","product":"kimai","versions":[{"version":"< 2.57.0","status":"affected"}]}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc","name":"https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/pull/5929","name":"https://github.com/kimai/kimai/pull/5929","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849","name":"https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.57.0","name":"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","name":"https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-15T10:37:17.720Z"},"source":{"advisory":"GHSA-vrr2-g9gh-c3jc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-15T12:41:48.870713Z","id":"CVE-2026-52820","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-15T12:42:21.215Z"}}]}}}