Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Kimai: Teamlead authorization bypass in GET /api/timesheets allows reading other users' timesheet records without being teamlead of the target (CVE-2026-52819)

0
Medium
Published: 07/13/2026 (07/13/2026, 23:55:16 UTC)
Source: GCVE Database
Product: kimai/kimai

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

Packagistghsa
kimai/kimai
Affected versions
<2.57.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:45:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses