Kimai: Teamlead authorization bypass in GET /api/timesheets allows reading other users' timesheet records without being teamlead of the target (CVE-2026-52819)
Kimai versions prior to 2.57.0 contain an authorization bypass vulnerability in the GET /api/timesheets endpoint. A user with the ROLE_TEAMLEAD and the view_other_timesheet permission can retrieve timesheet records of other users without being the teamlead of the target user's team. This bypass occurs because the list endpoint does not enforce the teamlead check that the per-record endpoint enforces. As a result, sensitive financial data such as rate and internalRate, along with personal activity details, can be disclosed to unauthorized teamlead users.
AI Analysis
Technical Summary
The vulnerability arises from an authorization mismatch between the per-record timesheet access control and the list endpoint in Kimai. While the per-record endpoint correctly verifies that a requester with view_other_timesheet permission is the teamlead of the target user's team, the list endpoint (GET /api/timesheets?user=<id>) fails to enforce this check. Instead, it only filters projects/customers by team membership, allowing any teamlead with the permission to enumerate timesheets of users they are not teamlead of, provided the timesheets belong to projects with no team scoping or shared teams where the requester is a member but not a lead. This leads to unauthorized disclosure of timesheet records including financial rates and personal activity data. The issue affects Kimai versions before 2.57.0. The fix involves adding an access_user permission check to the list endpoint to ensure the requester is authorized to view each requested user's data.
Potential Impact
A user with the ROLE_TEAMLEAD role and the view_other_timesheet permission can bypass intended authorization controls to access other users' timesheet records without being their teamlead. This results in unauthorized disclosure of sensitive financial information (rate, internalRate) and personally identifiable information related to user activities (descriptions, timestamps, durations, billable status, tags, and project/customer associations). This exposure can lead to privacy violations and potential misuse of financial data within organizations using Kimai.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The disclosed solution involves enforcing the access_user permission on the GET /api/timesheets list endpoint, which verifies that the requesting user is authorized to view each requested user's timesheet data. Until an official fix is applied, restrict ROLE_TEAMLEAD users' permissions or avoid using the vulnerable list endpoint with user parameters to prevent unauthorized data access.
Kimai: Teamlead authorization bypass in GET /api/timesheets allows reading other users' timesheet records without being teamlead of the target (CVE-2026-52819)
Description
Kimai versions prior to 2.57.0 contain an authorization bypass vulnerability in the GET /api/timesheets endpoint. A user with the ROLE_TEAMLEAD and the view_other_timesheet permission can retrieve timesheet records of other users without being the teamlead of the target user's team. This bypass occurs because the list endpoint does not enforce the teamlead check that the per-record endpoint enforces. As a result, sensitive financial data such as rate and internalRate, along with personal activity details, can be disclosed to unauthorized teamlead users.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from an authorization mismatch between the per-record timesheet access control and the list endpoint in Kimai. While the per-record endpoint correctly verifies that a requester with view_other_timesheet permission is the teamlead of the target user's team, the list endpoint (GET /api/timesheets?user=<id>) fails to enforce this check. Instead, it only filters projects/customers by team membership, allowing any teamlead with the permission to enumerate timesheets of users they are not teamlead of, provided the timesheets belong to projects with no team scoping or shared teams where the requester is a member but not a lead. This leads to unauthorized disclosure of timesheet records including financial rates and personal activity data. The issue affects Kimai versions before 2.57.0. The fix involves adding an access_user permission check to the list endpoint to ensure the requester is authorized to view each requested user's data.
Potential Impact
A user with the ROLE_TEAMLEAD role and the view_other_timesheet permission can bypass intended authorization controls to access other users' timesheet records without being their teamlead. This results in unauthorized disclosure of sensitive financial information (rate, internalRate) and personally identifiable information related to user activities (descriptions, timestamps, durations, billable status, tags, and project/customer associations). This exposure can lead to privacy violations and potential misuse of financial data within organizations using Kimai.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The disclosed solution involves enforcing the access_user permission on the GET /api/timesheets list endpoint, which verifies that the requesting user is authorized to view each requested user's timesheet data. Until an official fix is applied, restrict ROLE_TEAMLEAD users' permissions or avoid using the vulnerable list endpoint with user parameters to prevent unauthorized data access.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4m8q-55qv-9pwp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52819"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a55ff8868715ace432f465e
Added to database: 07/14/2026, 09:21:12 UTC
Last enriched: 07/14/2026, 09:45:13 UTC
Last updated: 07/31/2026, 12:27:30 UTC
Views: 27
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.