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 Favorite Timesheet Add and Remove Endpoints Allows Cross-User Bookmark Manipulation

0
Low
Published: 07/02/2026 (07/02/2026, 20:44:05 UTC)
Source: GCVE Database
Product: kimai/kimai

Description

### Summary Kimai 2.56.0 contains an authenticated improper authorization / IDOR vulnerability in the favorite timesheet add and remove endpoints. A low-privileged user who knows another user's `timesheet.id` can add that record to, or remove it from, the victim's `favorite/recent` bookmark list. This allows cross-user manipulation of per-user favorite state without administrative privileges. ### Details The issue affects the following routes: - `GET /en/favorite/timesheet/add/{id}` - `GET /en/favorite/timesheet/remove/{id}` Both endpoints accept a user-controlled timesheet identifier and only require the caller to hold the generic `start_own_timesheet` permission. They do not verify that the referenced `Timesheet` object belongs to the currently authenticated user. - In `src/Controller/FavoriteController.php`, the controller methods accept a `Timesheet` object directly and forward it to the favorite service. - The root cause becomes more obvious in `src/Timesheet/FavoriteRecordService.php`. The bookmark owner is derived from `$timesheet->getUser()` instead of the current session user. - Because of this design, any authenticated user who can reference another user's timesheet ID can modify the victim's `favorite/recent` bookmark data. *A PoC was provided, but removed for security reasons.* ### Impact This vulnerability allows any authenticated low-privileged user to manipulate another user's favorite bookmark state across accounts. An attacker can inject arbitrary victim-owned timesheet entries into the victim's quick-entry workflow, remove existing favorites, and repeatedly disturb the victim's normal timesheet usage without needing administrative privileges. The issue does not directly disclose sensitive data, but it is a real cross-user business-state tampering vulnerability with clear integrity impact. Because the add and remove endpoints can be combined, an attacker can reliably insert, remove, and reorder entries in another user's `favorite/recent` list.

CVSS v4.0

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

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/02/2026, 23:06:27 UTC

Technical Analysis

Kimai versions prior to 2.57.0 have an improper authorization (IDOR) vulnerability in the endpoints GET /en/favorite/timesheet/add/{id} and GET /en/favorite/timesheet/remove/{id}. These endpoints accept a timesheet ID and require only the 'start_own_timesheet' permission but do not verify ownership of the timesheet by the authenticated user. The controller forwards the timesheet object to the favorite service, which derives the bookmark owner from the timesheet's user rather than the session user. This design flaw enables any authenticated user to manipulate another user's favorite/recent bookmark list by adding or removing victim-owned timesheets, causing cross-user business-state tampering without needing admin privileges.

Potential Impact

An authenticated low-privileged attacker can manipulate the favorite bookmark state of other users by adding or removing victim-owned timesheet entries. This can disrupt the victim's normal workflow by injecting or removing quick-entry favorites, impacting the integrity of user-specific business data. The vulnerability does not disclose sensitive data but allows reliable cross-user tampering of per-user favorite lists.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the affected endpoints to trusted users only or monitor for unusual favorite list modifications. Avoid sharing timesheet IDs publicly to reduce risk. Follow vendor updates for an official fix in versions 2.57.0 or later.

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-j5mc-p8qg-39j7
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["Packagist"]
Database Specific Severity
LOW
Cvss Version
4.0

Threat ID: 6a46ecb027e9c7971943c486

Added to database: 07/02/2026, 22:56:48 UTC

Last enriched: 07/02/2026, 23:06:27 UTC

Last updated: 07/31/2026, 12:27:30 UTC

Views: 49

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