{"id":"CVE-2026-41498","aliases":["CVE-2026-41498","GHSA-jv9x-w4gm-hwcm"],"related":[],"kind":"vulnerability","state":"published","title":"Kimai: Team API Missing Object-Level Authorization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe 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.\n\n### Details\nAll 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.\nWhen 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.\n\n### PoC\n#### Authenticate as a user with edit_team permission who is NOT a member of Team 1\n```\ncurl -X POST https://TARGET/api/teams/1/members/2 \\\n  -H \"Authorization: Bearer <API_TOKEN>\" \\\n  -H \"Content-Type: application/json\"\n```\n\n#### Expected: 403 Forbidden (user is not ROLE_ADMIN/ROLE_SUPER_ADMIN, or member of Team 1)\n#### Actual (pre-2.54.0): 200 OK, user added to Team 1\n\n### Impact\nIn 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-24T16:17:35.000Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 2.54.0","status":"affected"}],"vendor":"kimai","product":"kimai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.54.0"}],"ecosystem":"Packagist","package":"kimai/kimai","purl":"pkg:composer/kimai/kimai","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.54.0"}],"vendor":"kimai","product":"kimai","cpe":"cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-jv9x-w4gm-hwcm","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.54.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41498","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kimai/kimai","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-08T14:31:51.060Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41498","url":"https://www.cve.org/CVERecord?id=CVE-2026-41498","licence":"CVE Terms of Use","modified":"2026-05-08T21:28:32.582Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jv9x-w4gm-hwcm","url":"https://github.com/advisories/GHSA-jv9x-w4gm-hwcm","licence":"CC-BY-4.0","modified":"2026-05-12T17:09:38.995Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41498","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41498","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.943Z","epss":{"score":0.00247,"percentile":0.17047,"date":"2026-12-01T12:00:22.000Z"}}