CVE-2026-84805
Beschrijving NL
Kimai-versies van 2.61.0 vóór 2.63.0 slagen er niet in om alleen beheerderswerkcontractvoorkeuren uit te schakelen voor gebruikers met lage privileges in het PATCH /api/users/{id}/voorkeuren-eindpunt. Hoewel de webinterface deze velden voor arbeidscontracten achter de beheerderstoestemming contract_OTHER_profile plaatst, registreert de WorkContractPreferenceSubscriber (geïntroduceerd in 2.61.0) de voorkeuren als ingeschakeld zonder toestemmingscontrole, zodat een geverifieerde reguliere gebruiker de API kan gebruiken om zijn eigen werkcontractgegevens voor alleen beheerders te wijzigen. Het probleem wordt opgelost in 2.63.0 door dezelfde machtigingscontrole toe te passen op het API-eindpunt.
Origineel (Engels) tonen
Kimai versions from 2.61.0 before 2.63.0 fail to disable admin-only work-contract preferences for low-privilege users in the PATCH /api/users/{id}/preferences endpoint. Although the web interface gates these employment-contract fields behind the contract_other_profile admin permission, the WorkContractPreferenceSubscriber (introduced in 2.61.0) registers the preferences as enabled without a permission check, so an authenticated regular user can use the API to modify their own admin-only work-contract data. The issue is fixed in 2.63.0 by applying the same permission check to the API endpoint.