Skip to main content

Kimai CVE-2026-52821

| EUVDEUVD-2026-78400 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-07-14 https://github.com/kimai/kimai GHSA-3q6q-26vg-v97x
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 with create_activity permission
  2. Delivery
    Enumerate valid project IDs via route probing
  3. Exploit
    Craft POST request to /en/admin/activity/create/{target_project_id}
  4. Execution
    Submit activity creation form with unauthorized project preset
  5. Impact
    Kimai persists Activity under target project without authorization check

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires an authenticated Kimai session with the create_activity permission granted. The attacker does not need view, list, or edit permissions on the target project - only knowledge of a valid integer project.id, which is trivially enumerable by probing the creation route incrementally. The vulnerable entry points are GET/POST /en/admin/activity/create/{project} and GET/POST /en/admin/project/create/{customer}. Exploitation is limited by the requirement for a valid authenticated session: unauthenticated attackers cannot exploit this. Deployments where all users share equivalent project scopes (e.g., single-team instances) are not meaningfully impacted because no authorization boundary exists to cross.

Impact

No vendor-supplied CVSS vector was included in the advisory, so quantitative risk signals are limited. CWE-639 combined with the described attack flow implies AV:N/AC:L/PR:L - network-reachable, low complexity, requiring only a low-privilege authenticated session. The attack's integrity impact is constrained: the attacker cannot read or modify existing data in unauthorized projects, only inject new child objects (Activities) into them. EPSS data is not available for this CVE at time of analysis. The vulnerability is not listed in CISA KEV, and the PoC was privately reported and removed, so there is no confirmed public exploit or evidence of in-the-wild exploitation. Real-world risk is moderate for multi-tenant or organizationally segmented Kimai deployments where strict project access controls are a business requirement; the impact is primarily data pollution and downstream business logic abuse (rate inheritance, timesheet contamination) rather than direct system compromise or data exfiltration. Single-team or single-user deployments face negligible risk.

Exploit ScenarioDerived

An authenticated Kimai user with only the create_activity permission, who is restricted to their own team's projects, enumerates project IDs by probing sequential integers in the URL /en/admin/activity/create/42 (IDs are predictable integer PKs in most Kimai deployments). The attacker submits a valid activity creation form targeting a competitor team's project ID, and Kimai persists the new Activity under that project without raising an authorization error. Other members of that team later see the injected activity in timesheet entry dropdowns, potentially inheriting incorrect billing rates or contaminating reporting data.

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

Improper object-level authorization in Kimai 2.56.0 allows any authenticated user holding the generic create_activity permission to inject Activity records into projects outside their authorized scope by directly invoking the preset-project creation routes with an arbitrary project ID. The controllers in ActivityController.php and ProjectController.php validate only the global capability (can the user create activities at all?) without performing a secondary check that the user also has edit rights on the specific target project. No public exploit exists at time of analysis, though a PoC was privately shared with the vendor and subsequently removed; the vendor has released a fix in version 2.57.0.

RemediationAI

Upgrade Kimai to version 2.57.0 or later, which introduces [IsGranted('edit', 'project')] in ActivityController and [IsGranted('edit', 'customer')] in ProjectController to enforce object-level authorization checks on the preset path parameters. Full advisory details are at https://www.kimai.org/en/security/ghsa-3q6q-26vg-v97x. If an immediate upgrade is not possible, restrict access to the affected routes (/en/admin/activity/create/* and /en/admin/project/create/*) at the web server or reverse-proxy level to only users who have verified admin roles, accepting the trade-off of blocking legitimate low-privilege activity creation. Alternatively, revoke the create_activity permission from any user who should not have cross-project write access until the patch is applied; this limits legitimate functionality but eliminates the attack surface.

Affected VersionsENISA

kimai < 2.57.0

Affected Packages

composer kimai/kimai fix: 2.57.0
euvd kimai fix: 2.57.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 an open-source PHP time-tracking web application distributed via Composer (composer/kimai/kimai). The vulnerability is rooted in CWE-639 (Authorization Bypass Through User-Controlled Key): the {project} and {customer} path parameters in routes /en/admin/activity/create/{project} and /en/admin/project/create/{customer} are user-supplied identifiers that the application resolves to ORM entities without verifying the requesting user's object-level access. The Symfony-based authorization layer uses attribute-based IsGranted checks, but the original code omitted the per-object [IsGranted('edit', 'project')] guard, leaving only the global create_activity capability check. Because the resolved project entity is merged into the candidate set before the final save, the persistence layer writes the new Activity to the unauthorized project without further gating. The same structural flaw existed in the ProjectController path, allowing unauthorized customer-scoped project creation.

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 web route (AV:N), trivial project ID enumeration (AC:L), requires authenticated low-privilege session (PR:L), integrity-only impact limited to data injection (I:L), no confidentiality or availability impact.

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 improper authorization vulnerability in the preset-project activity creation flow. A user with the generic create_activity permission, but without access to a target project, can still create a new Activity under that unauthorized project by visiting the preset project creation route directly.

This is a persistent cross-project business-object creation issue. The attacker does not need permission to view or edit the target project and only needs to know a valid project.id.

Details

The issue affects the activity creation entry point that accepts a preset project identifier:

  • GET/POST /en/admin/activity/create/{project}
  • GET/POST /en/admin/project/create/{customer}

In src/Controller/ActivityController.php, the controller checks only the global capability to create activities and does not verify whether the current user is allowed to create an activity under the supplied Project object.

The form and repository path also preserve the preset project instead of rejecting it when the user lacks access. Because the preset project is merged into the candidate set, the final save operation can persist a new Activity under a project that is outside the attacker's authorized project scope.

The same logic applies to the src/Controller/ProjectController.php.

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

Impact

This vulnerability allows an authenticated user to inject new child business objects into projects outside their authorized scope. An attacker can pollute another team's project configuration, influence later timesheet selection and rate inheritance, and create conditions for downstream business abuse if other users start using the injected activity.

Solution

  • In ActivityController we now validate if the project can be edited with [IsGranted('edit', 'project')]
  • In ProjectController we now validate if if the customer can be edited with [IsGranted('edit', 'customer')]

See https://www.kimai.org/en/security/ghsa-3q6q-26vg-v97x

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche open-source time-tracking tool, limited enterprise footprint
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