Skip to main content

Kimai CVE-2026-52822

| EUVDEUVD-2026-78407 MEDIUM
Improper Authorization (CWE-285)
2026-07-14 https://github.com/kimai/kimai GHSA-c6w6-57jj-62vh
5.3
CVSS 4.0 · Vendor: https://github.com/kimai/kimai
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as revoked Kimai user
  2. Delivery
    Identify historical timesheet entry under revoked project
  3. Exploit
    Send PATCH /api/timesheets/{id}/restart or /duplicate
  4. Execution
    TimesheetVoter resolves via *_own_timesheet ownership branch
  5. Persist
    Team-based access check skipped
  6. Impact
    New timesheet row persisted to unauthorized project

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Kimai user account (PR:L) that previously had access to a specific project and has since had that access administratively revoked. The user must have at least one historical timesheet entry in the database that references the now-unauthorized project and activity combination - if no such historical record exists, the attack path is unavailable. The PATCH /api/timesheets/{id}/restart or PATCH /api/timesheets/{id}/duplicate endpoint (or the web duplicate UI) must be reachable. No special server configuration beyond standard team-based access management is required - default Kimai deployments managing project access via teams are affected as soon as a revocation event occurs. Exploitation is limited to write impact on timesheet data; it does not grant broader read access, privilege escalation, or code execution.

Impact

No vendor-supplied CVSS score is available for this CVE, so all metric assessments are inferred from the description. Real-world risk is moderate. Exploitation is bounded to authenticated users who previously held access to a project - the attack cannot be performed by outsiders or newly created accounts with no project history. The impact is scoped to integrity of time tracking data: unauthorized timesheet rows are written to the database, potentially corrupting budget calculations, reports, and invoicing workflows. There is no code execution, authentication bypass for initial login, or data exfiltration component. A PoC was reportedly developed and submitted but removed from the advisory, confirming the issue is reproducible. The absence of a KEV listing and the authentication prerequisite indicate this is not a widespread opportunistic threat; the primary risk scenario is insider threat or a compromised account belonging to a user who was recently removed from a project. No EPSS data is available. The risk is real but narrow in scope.

Exploit ScenarioDerived

An authenticated Kimai user is removed from a project team by an administrator. Rather than accepting the revocation, the user queries the REST API for a historical timesheet entry they created while still authorized, then sends PATCH /api/timesheets/{id}/restart referencing that entry. The server-side voter resolves the authorization check via the *_own_timesheet branch, bypasses current team-membership validation, and persists a new timesheet row under the now-unauthorized project. The user can repeat this for any historical entry they own, continuing to log billable hours and inflating invoices for the revoked project.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 14, 2026

Permission revocation bypass in Kimai's timesheet restart and duplicate workflows allows authenticated users to create new database-persisted time entries under projects they no longer have access to. Affecting Kimai up to and including version 2.57.0, the flaw exists because TimesheetVoter.php evaluates the *_own_timesheet ownership branch before team-based access checks, meaning a historical timesheet entry acts as a durable capability token that survives administrative revocation. No public exploit is available - a PoC was reportedly submitted to the project and then redacted - and this vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade to Kimai 2.58.0, which fixes TimesheetVoter::canStart() to enforce team-based access checks for the referenced project and activity during both restart and duplicate operations, bringing these paths in line with normal timesheet creation. The vendor advisory at https://www.kimai.org/en/security/ghsa-c6w6-57jj-62vh confirms 2.58.0 as the patched release. If an immediate upgrade is not possible, administrators can block the vulnerable API endpoints at a reverse proxy or WAF layer by denying PATCH requests matching the path patterns /api/timesheets/*/restart and /api/timesheets/*/duplicate; note this does not cover the web UI duplicate path, which shares the same underlying logic. As an additional compensating control, administrators should audit timesheet records created after any project access revocation events to identify and remove unauthorized entries. Blocking the API does not constitute a complete fix - upgrade to 2.58.0 is the only fully effective remediation.

Affected VersionsENISA

kimai < 2.58.0

Affected Packages

composer kimai/kimai fix: 2.58.0
euvd kimai fix: 2.58.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kimai is a PHP-based time tracking application built on the Symfony framework, which uses a voter pattern for authorization decisions. The vulnerable logic is in src/Voter/TimesheetVoter.php, where the *_own_timesheet branch is evaluated first, granting effective authorization based on record ownership rather than current team membership for the underlying project and activity. The affected endpoints - PATCH /api/timesheets/{id}/restart and PATCH /api/timesheets/{id}/duplicate in src/API/TimesheetController.php - copy the project and activity from a historical entry into a new candidate timesheet and then pass it to TimesheetService.php, which calls isGranted('start', $timesheet). Because the voter resolves this via ownership rather than current access rights, the creation succeeds. The root cause class is CWE-285 (Improper Authorization): the authorization check evaluates the wrong security property - ownership of the source object rather than current access to the target project. The same flaw is present in the web UI duplicate path via src/Controller/TimesheetAbstractController.php, which calls the same underlying save logic. Affected package: pkg:composer/kimai/kimai.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/kimai/kimai) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Network-reachable API endpoint requires only low-privilege authenticated user; impact is limited to integrity of timesheet data with no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/kimai/kimai).

CVSS VectorVendor: https://github.com/kimai/kimai

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Sep 15, 2026 - 11:22 NVD
5.3 (MEDIUM)

DescriptionCVE.org

Summary

Kimai 2.56.0 contains an authenticated authorization bypass in the timesheet restart and duplicate workflows. After a user loses access to a project, the user can still derive a new timesheet from one of their historical entries and create a new record under that now-unauthorized project and activity combination.

This is a permission revocation bypass with persistent write impact. The issue affects both restart and duplicate, which trust ownership of an old timesheet more than the user's current access to the underlying project, activity, and customer.

Details

The issue affects the following operations:

  • PATCH /api/timesheets/{id}/restart
  • PATCH /api/timesheets/{id}/duplicate

The root cause is that authorization gives too much weight to the fact that the original timesheet belongs to the current user. In src/Voter/TimesheetVoter.php, the *_own_timesheet branch is evaluated before team-based access checks.

The restart/duplicate capability check also verifies only object visibility, not whether the current user still has team-based access to the referenced objects.

In src/API/TimesheetController.php, the restart flow copies the historical project and activity into a new candidate timesheet.

The duplicate flow similarly clones the historical record and saves it.

In src/Timesheet/TimesheetService.php, creation of a new running entry still relies on isGranted('start', $timesheet).

For historical entries that belong to the current user, this logic can still succeed through the *_own_timesheet branch even after project access has been revoked. As a result, normal creation pages correctly stop offering the revoked project, but restart and duplicate can still create new records under it.

The same weakness also affects the Web duplicate flow because the UI path ultimately calls the same save logic in src/Controller/TimesheetAbstractController.php:

*A PoC was provided, but removed for security reasons.*

Impact

This vulnerability allows a user to keep writing new time entries into a project after project access has been revoked. That undermines administrative access-control changes and can pollute project time tracking, budget calculations, statistics, reports, and invoicing workflows.

Because both restart and duplicate can reuse historical project/activity bindings, old timesheet records effectively become reusable capability tokens that survive later access-control changes. This is not a UI artifact or a caching problem: new database rows are persisted after revocation.

Solution

The metoid TimesheetVoter::canStart() now checks team access for project and activity. This verification is used for new timesheets and also for the duplication and restart workflows.

See https://www.kimai.org/en/security/ghsa-c6w6-57jj-62vh for more information.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source self-hosted time tracking tool, primarily SMB deployments
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy