Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kimai | kimai | before 2.57.0 | 2.57.0 | Patch available | CNA |
| — | kimai/kimai (Packagist) | before 2.57.0 | 2.57.0 | Patch available | GHSA-vrr2-g9gh-c3jc |
- kimai Vendorkimai Affected before 2.57.0 Fixed in 2.57.0 Patch available CNA
- kimai/kimai (Packagist) Vendor— Affected before 2.57.0 Fixed in 2.57.0 Patch available GHSA-vrr2-g9gh-c3jc
Remediation
- Fix · CNA kimai (kimai) Fixed in 2.57.0
- Fix · GHSA-vrr2-g9gh-c3jc kimai/kimai (Packagist) Fixed in 2.57.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52820
- 2026-10-03 Alias added: GHSA-vrr2-g9gh-c3jc
References
Other 6
- 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
- https://github.com/kimai/kimai
More kimai vulnerabilities
- TI-2023-30240 Kimai 1.30.10 SameSite Cookie Vulnerability Session Hijacking CVSS 4.0HIGH 8.5
- TI-2026-55437 Kimai before 2.58.0 Authentication Bypass via Password Reset Link CVSS 4.0HIGH 8.7
- TI-2026-55443 Kimai before 2.56.0 Authorization Bypass via TimesheetVoter CVSS 4.0CRITICAL 9.3
- TI-2026-22900 Kimai: API invoice endpoint missing customer-level access control (IDOR) CVSS 3.1MEDIUM 6.5
- TI-2026-55440 Kimai before 2.54.0 Username Enumeration via Timing Oracle CVSS 4.0MEDIUM 6.3
- TI-2026-37927 Incorrect authorization in kimai CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-52820 · CVE Program
- CVE-2026-52820 · NVD
- FIRST EPSS
- GHSA-vrr2-g9gh-c3jc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences