llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · kimai/kimai

GHSA-6RXF-4HH9-PP46

Kimai API Team Update Endpoint Removes Team Memberships Before Validating Replacement Members

Texto original en inglés · Ver en español

Sin parche publicado
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición107 dDesde la divulgación, 5 ago 2026, 9:49 a. m.
Detección105 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
5 ago 26
19 nov 26
21 nov 26
5 ago 26
1 sept 26
28 sept 26
25 oct 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-6RXF-4HH9-PP46 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

A business logic / improper authorization vulnerability in Kimai allows an authenticated teamlead with team edit permissions to remove all members and teamleaders from a team by submitting an invalid `members` payload to the team update API endpoint.

Kimai exposes a dedicated endpoint for removing a single team member:

DELETE /api/teams/{id}/members/{userId}

This endpoint explicitly prevents removal of a teamlead. However, the generic team update endpoint accepts a `members` parameter and removes all existing team members before validating the submitted replacement member list:

PATCH /api/teams/{id}

As a result, an attacker with permission to edit a team can submit a malformed `members` value. Kimai returns a validation error, but the existing team membership rows have already been deleted from the database. This allows the attacker to bypass the dedicated teamlead-removal protection and leave the team with no members or teamleaders.

Details

Details and POC were submitted, but removed for security reasons.

Impact

This is a business logic / improper authorization vulnerability affecting team membership integrity.

An authenticated teamlead or other user with permission to edit a team can remove all members and teamleaders from that team by submitting a malformed `members` payload to the team update API endpoint. This bypasses the intended protection in the dedicated member-removal endpoint, which prevents direct removal of teamleaders.

Successful exploitation can corrupt Kimai’s team-based access control relationships. Affected teams can be left without any members or teamleaders, disrupting team administration and potentially removing legitimate users’ access to customers, projects, activities, timesheets, and other team-scoped data.

Any Kimai deployment that allows non-admin users, such as teamleads, to edit teams may be affected.

Solution

Kimai now validates the replacement member list before making any changes to the existing team membership. If the submitted data is invalid, the original team members remain unchanged.

See <https://www.kimai.org//en/security/ghsa-6rxf-4hh9-pp46> for more details

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
kimai/kimai≤ 2.62.0
2.62.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistkimai/kimai
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/kimai/kimai/security/advisories/GHSA-6rxf-4hh9-pp46

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.