Authorization Bypass Through User-Controlled Key Affecting kimai/kimai package, versions <2.57.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-KIMAIKIMAI-17971326
  • published14 Jul 2026
  • disclosed13 Jul 2026
  • creditUnknown

Introduced: 13 Jul 2026

NewCVE-2026-52820  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade kimai/kimai to version 2.57.0 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the PATCH /api/timesheets/{id} and POST /api/timesheets endpoints, which accept a user-supplied project ID that is resolved through a query builder allowing the submitted ID to bypass access controls via an unconditional OR branch. An attacker can gain unauthorized access to project and customer metadata and manipulate their own timesheet records by submitting arbitrary project IDs, even for projects outside their team or customer scope.

References

CVSS Base Scores

version 4.0
version 3.1