Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. kimai/kimai
  4. ›
  5. CVE-2026-52820

CVE-2026-52820: Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass

July 13, 2026

The Timesheet API PATCH /api/timesheets/{id} and POST /api/timesheets endpoints accept a user-supplied project ID and resolve it through a Symfony EntityType whose query_builder allows the submitted ID to satisfy the access predicate via an unconditional OR branch. As a result, any authenticated user can re-assign their own timesheet to any project in the database — including projects that belong to teams or customers they have no membership in and cannot otherwise see. The user can then read serialized project/customer details via GET /api/timesheets/{id}?full=true, leaking metadata (name, currency, customer hierarchy) that would otherwise be filtered out by the team ACL.

References

  • github.com/advisories/GHSA-vrr2-g9gh-c3jc
  • github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc
  • nvd.nist.gov/vuln/detail/CVE-2026-52820

Code Behaviors & Features

Detect and mitigate CVE-2026-52820 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.57.0

Fixed versions

  • 2.57.0

Solution

Upgrade to version 2.57.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

packagist/kimai/kimai/CVE-2026-52820.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:45 +0000.