CVE-2026-40486
Kimai's User Preferences API allows standard users to modify restricted attributes: hourly_rate, internal_rate
Em resumo
A API de Preferências do Kimai permite que qualquer usuário autenticado altere suas próprias taxas de cobrança (hourly_rate e internal_rate), mesmo sem permissão. Isso afeta faturas e cálculos de horas.
Detalhe técnico
O endpoint da API de Preferências do Usuário (PATCH /api/users/{id}/preferences) no Kimai 2.52.0 e anteriores não valida a flag isEnabled() antes de salvar valores. Usuários autenticados conseguem contornar controles de acesso baseados em permissões (hourly-rate) para modificar diretamente seus atributos de taxa, comprometendo a integridade financeira.
Resumo gerado e traduzido por IA a partir da descrição oficial.
Kimai is an open-source time tracking application. In versions 2.52.0 and below, the User Preferences API endpoint (PATCH /api/users/{id}/preferences) applies submitted preference values without checking the isEnabled() flag on preference objects. Although the hourly_rate and internal_rate fields are correctly marked as disabled for users lacking the hourly-rate role permission, the API ignores this restriction and saves the values directly. Any authenticated user can modify their own billing rates through this endpoint, resulting in unauthorized financial tampering affecting invoices and timesheet calculations. This issue has been fixed in version 2.53.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Produtos afetados
kimai · kimaiQuer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →