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.
Published: 2026-09-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized assignment of timesheets to projects outside the user’s team and exposure of project/customer metadata via authenticated API calls
Action: Patch Now
AI Analysis

Impact

Kimai prior to version 2.57.0 allowed authenticated users with the edit_own_timesheet permission to modify timesheet entries via PATCH / POST endpoints. Through the TimesheetApiEditForm and FormTrait, and ProjectRepository::getQueryBuilderForFormType() placed that identifier in an unconditional OR branch, bypassing the team access criteria. As a result, any authenticated user could assign a timesheet to a project outside the user’s teams, thereby persisting unauthorized project attribution and accessing project and customer metadata via the GET / api/timesheets/{id}?full=true endpoint. The issue was addressed by adding project validation in TimesheetTeamAccessValidator in version 2.57.0. This flaw represents a privilege‑escalation and data‑disclosure vulnerability (CWE‑639).

Affected Systems

The vulnerability affects the Kimai time‑tracking application versions before 2.57.0. Users who are authenticated and hold the edit_own_timesheet role can exploit the flaw to assign timesheets to projects outside their teams. The issue was fixed in release 2.57.0; all later versions are not affected.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score is below 1 %, suggesting a low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. An attacker only needs valid credentials and the edit_own_timesheet role to execute the attack. While the flaw does not provide remote code execution, it enables unauthorized data modification and disclosure, potentially facilitating further attacks if combined with other weaknesses. Because the issue is reachable via the standard REST API, it can be triggered from any client possessing the required permissions.

Generated by OpenCVE AI on September 17, 2026 at 17:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kimai to version 2.57.0 or later, which removes the query‑builder bypass and adds project validation logic
  • Restrict the edit_own_timesheet permission to trusted users and audit role assignments to avoid unnecessary privilege
  • Audit existing timesheets to identify any that are linked to projects outside the user’s teams and correct discrepancies after applying the update

Generated by OpenCVE AI on September 17, 2026 at 17:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vrr2-g9gh-c3jc Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass
History

Tue, 15 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Kimai
Kimai kimai
Vendors & Products Kimai
Kimai kimai

Tue, 15 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass
Weaknesses CWE-639
References
Metrics cvssV4_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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-15T12:42:21.215Z

Reserved: 2026-06-08T18:11:06.661Z

Link: CVE-2026-52820

cve-icon Vulnrichment

Updated: 2026-09-15T12:42:15.886Z

cve-icon NVD

Status : Deferred

Published: 2026-09-15T11:17:08.957

Modified: 2026-09-23T18:22:16.503

Link: CVE-2026-52820

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-17T20:30:17Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key