Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAdministrator grants edit_team to ROLE_TEAMLEAD
-
DeliveryAttacker authenticates as ROLE_TEAMLEAD with valid API token
-
ExploitAttacker identifies target team ID and member to add
-
InstallAttacker sends POST request to /api/teams/{id}/members
-
C2TeamVoter abstains on 'edit_team' attribute
-
ExecuteRolePermissionVoter checks role permission only
-
ImpactRequest authorized and executed without entity ownership validation
-
Step 8Unauthorized team membership added
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability is only exploitable if an administrator explicitly grants the edit_team permission to a role below ROLE_ADMIN and ROLE_SUPER_ADMIN (such as ROLE_TEAMLEAD) via Kimai's permissions UI. In default Kimai installations, edit_team is restricted to ROLE_ADMIN and ROLE_SUPER_ADMIN, both of which already possess irrevocable view_all_data access, making the missing entity-level check redundant and the vulnerability non-exploitable without prior administrative misconfiguration. The attacker must be authenticated and possess a valid API token for the role that has been granted edit_team permission. Network access to the Team API endpoints is required. No special user interaction or non-default protocol/encoding is required beyond standard HTTP POST requests to the affected API endpoints (lines 177, 201, 229, 252, 275, 298, 321, 339 of TeamController.php). The vulnerability is limited to the API layer; the web-based team controller implements correct authorization checks and is not affected. |
| Impact | The CVSS 3.3 score reflects low immediate risk: AV:N (network-accessible) is offset by AC:H (high complexity) and PR:H (high privilege requirement). However, this assessment is misleading for real-world risk. The CVSS vector correctly captures that in default Kimai installations, only ROLE_ADMIN and ROLE_SUPER_ADMIN possess the edit_team permission, and both roles already have irrevocable view_all_data access, making the missing entity-level check redundant - the permission itself is already restricted to highly privileged accounts. The actual vulnerability emerges only if an administrator uses Kimai's permissions UI to grant edit_team to a lower-privilege role such as ROLE_TEAMLEAD, which is plausible for delegated team management. The PR:H requirement is the critical gate: this is not remotely exploitable by low-privilege users, but represents privilege escalation risk for delegated administrative users. Exploitation is non-automated (requires administrator misconfiguration followed by role-holder action) and the impact is limited to team data (confidentiality and integrity of team associations, not system-wide compromise). No KEV listing, no public POC, and the vendor has released a patched version (2.54.0+), all indicating this is a real but controlled vulnerability with low current exploitation likelihood. Risk is contingent on specific administrative configuration choices. |
| Exploit ScenarioDerived | An administrator grants the edit_team permission to ROLE_TEAMLEAD via Kimai's permissions UI, intending to allow team leads to manage members within their own teams. A user with ROLE_TEAMLEAD role who is not a member of Team 1 authenticates to the API and sends a POST request to /api/teams/1/members/2 to add another user to Team 1. The API endpoint evaluates the IsGranted('edit_team') attribute, causing the TeamVoter to abstain, and only the RolePermissionVoter checks whether the user's role has edit_team. Finding that ROLE_TEAMLEAD does have edit_team permission (as granted by the administrator), the request succeeds with HTTP 200, adding the user to Team 1 despite the requester having no authorization to manage that team. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Kimai's Team API endpoints fail to validate entity-level ownership due to incorrect Symfony IsGranted attribute syntax, allowing users with the edit_team permission to modify any team regardless of membership. The vulnerability arises because API endpoints use #[IsGranted('edit_team')] instead of #[IsGranted('edit', 'team')], causing the TeamVoter to abstain and fall back to role-only permission checks. In default configurations this is unexploitable since only admins hold edit_team permission, but if administrators grant edit_team to lower-privilege roles (such as ROLE_TEAMLEAD) via the permissions UI, those users can modify team memberships, customer assignments, project assignments, and activity assignments for any team without authorization. No public exploit code or active exploitation has been identified.
RemediationAI
Upgrade Kimai to version 2.54.0 or later, which corrects the IsGranted attribute syntax in all Team API endpoints from #[IsGranted('edit_team')] to #[IsGranted('edit', 'team')] with the team entity as the subject parameter. This restores the TeamVoter's ability to enforce entity-level ownership checks. Organizations unable to upgrade immediately should implement a compensating control by restricting the assignment of the edit_team permission through the permissions UI to only ROLE_ADMIN and ROLE_SUPER_ADMIN, preventing delegation of team edit capabilities to lower-privilege roles. This control is compatible with default Kimai deployments but limits administrative flexibility for teams requiring delegated team management; document and review this restriction during the upgrade planning process. Detailed guidance is available in the GitHub security advisory at https://github.com/kimai/kimai/security/advisories/GHSA-jv9x-w4gm-hwcm.
Affected VersionsENISA
Affected Packages
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 web-based time tracking application built with Symfony and PHP. The vulnerability stems from incorrect usage of Symfony's authorization attribute syntax in access control checks. Symfony's voter system uses a two-phase process: first checking if a voter supports the given attribute and subject, then voting on permission. The TeamVoter class only recognizes 'view', 'edit', and 'delete' attributes and requires a team entity as the subject parameter (e.g., #[IsGranted('edit', 'team')]). When the API endpoints use #[IsGranted('edit_team')] with a single string argument, the TeamVoter does not recognize 'edit_team' as a supported attribute and abstains from voting entirely. Only the RolePermissionVoter then evaluates the permission, checking if the user's role has the edit_team permission at the system level without any object-level ownership validation. The affected endpoints are located in src/API/TeamController.php at lines 177, 201, 229, 252, 275, 298, 321, and 339, which handle team member, customer, project, and activity associations. The correct web-based controller (src/Controller/TeamController.php:118) properly passes the team entity as the subject, enabling the TeamVoter to enforce entity ownership checks.
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
AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
Primary rating from Vendor (https://github.com/kimai/kimai) · only source for this CVE.
CVSS VectorVendor: https://github.com/kimai/kimai
DescriptionCVE.org
Summary
The Team API endpoints use #[IsGranted('edit_team')] instead of #[IsGranted('edit', 'team')], causing Symfony TeamVoter to abstain from voting. This removes entity-level ownership checks on team operations, allowing any user with the edit_team permission to modify any team, not just teams they are authorized to manage.
Details
All 8 team association endpoints in src/API/TeamController.php (lines 177, 201, 229, 252, 275, 298, 321, 339) use #[IsGranted('edit_team')] with a single argument. The web controller at src/Controller/TeamController.php:118 correctly uses #[IsGranted('edit', 'team')] with two arguments, passing the $team parameter as the subject. When edit_team is passed as the attribute, TeamVoter::supportsAttribute() returns false because it only recognizes view, edit, and delete. The voter abstains entirely. Only RolePermissionVoter fires, which checks the role-level permission without any entity-level ownership validation.
PoC
Authenticate as a user with edit_team permission who is NOT a member of Team 1
curl -X POST https://TARGET/api/teams/1/members/2 \
-H "Authorization: Bearer <API_TOKEN>" \
-H "Content-Type: application/json"Expected: 403 Forbidden (user is not ROLE_ADMIN/ROLE_SUPER_ADMIN, or member of Team 1)
Actual (pre-2.54.0): 200 OK, user added to Team 1
Impact
In default configuration, only ROLE_ADMIN and ROLE_SUPER_ADMIN have edit_team, and both roles already have irrevocable view_all_data access, making the missing check redundant. The vulnerability becomes exploitable if an administrator grants edit_team to a lower-privilege role (such as ROLE_TEAMLEAD) through the permissions UI. In that scenario, the lower-privilege user could modify any team's membership, customer assignments, project assignments, and activity assignments without being a member or teamlead of that team.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-28495
GHSA-jv9x-w4gm-hwcm
NVD
CVE.org
EPSS
Exploit-DB