{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52820","id":"CVE-2026-52820","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 ","descriptionLong":"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":"2026-09-15T10:37:17.720Z","updated":"2026-10-28T02:30:52.759708600Z","reserved":"2026-06-08T18:11:06.661Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.3,"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/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["kimai"],"affectedProducts":[{"vendor":"kimai","product":"kimai","defaultStatus":null,"versions":[{"version":"< 2.57.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"kimai/kimai","purl":"pkg:composer/kimai/kimai","ranges":["<2.57.0"],"fixed":["2.57.0"],"advisory":"GHSA-vrr2-g9gh-c3jc"}],"cwes":["CWE-639"],"aliases":["GHSA-vrr2-g9gh-c3jc"],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/kimai/kimai/pull/5929","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.57.0","tags":["x_refsource_MISC","web"]},{"url":"https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52820.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52820","tags":["advisory"]},{"url":"https://github.com/kimai/kimai","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00449,"epssPercentile":0.39756,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52820","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52820","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52820","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vrr2-g9gh-c3jc","ok":true,"note":"GHSA-vrr2-g9gh-c3jc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52820","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}