3.3low
Kimai: Team API Missing Object-Level Authorization
- Severity
- 3.3low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jv9x-w4gm-hwcm
Description
Kimai is an open-source time tracking application. Prior to version 2.54.0, 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. This issue has been patched in version 2.54.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kimai kimai | < 2.54.0, before 2.54.0 | CVE List, NVD |
| kimai/kimai (Packagist) | before 2.54.0 | GitHub Advisory Database |
All scores
| GitHub_M | 3.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Kimai is an open-source time tracking application. Prior to version 2.54.0, 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. This issue has been patched in version 2.54.0.
GitHub Advisory Database
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.
NVD (es)
Kimai es una aplicación de seguimiento de tiempo de código abierto. Antes de la versión 2.54.0, los endpoints de la API de Equipo usan #[IsGranted(’edit_team’)] en lugar de #[IsGranted(’edit’, ’team’)], lo que provoca que Symfony TeamVoter se abstenga de votar. Esto elimina las comprobaciones de propiedad a nivel de entidad en las operaciones de equipo, permitiendo a cualquier usuario con el permiso ’edit_team’ modificar cualquier equipo, no solo los equipos que están autorizados a gestionar. Este problema ha sido parcheado en la versión 2.54.0.
References
| https://github.com/kimai/kimai/security/advisories/GHSA-jv9x-w4gm-hwcm | exploit, vendor-advisory, web | |
| https://github.com/kimai/kimai/releases/tag/2.54.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-41498 | advisory | |
| https://github.com/kimai/kimai | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41498 changed 2026-05-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jv9x-w4gm-hwcm changed 2026-05-12 | CC-BY-4.0 |
| NVD | CVE-2026-41498 changed 2026-11-11 | Public domain |