llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · code.vikunja.io/api

GHSA-9XH7-5JG8-MF43

Bucket delete uses the URL view instead of the bucket's real view

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ón29 dDesde la divulgación, 22 oct 2026, 5:01 a. m.
Detección27 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada +1
22 oct 26
18 nov 26
21 nov 26
22 oct 26
29 oct 26
6 nov 26
13 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-9XH7-5JG8-MF43 divulgada
Divulgación Modificada Última actualización del registro
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 user with write access to a project deletes the only bucket of kanban view V1 through `/views/V2/buckets/X`, where V2 is another view of the same project. This bypasses the last-bucket rule, leaves V1's default/done bucket ids dangling and leaves `task_buckets` inconsistent. Same project only.

Details

`canDoBucket` (`pkg/models/kanban_permissions.go:45-56`) checks that the bucket's real view is in the URL project, but never compares the stored `bb.ProjectViewID` with the requested `b.ProjectViewID`. `Bucket.Delete` then uses the URL view for the bucket count (`pkg/models/kanban.go:377`), the default/done bucket lookup (`:389`) and task reassignment (`:416`). On v1 a JSON body can also override the path view (Echo v5.3.1 binds the body last, and `pkg/web/handler` never re-applies path params).

Impact

Low. Needs write access to the project and only affects that project's own views: V1 can end up with no buckets, stale default/done bucket references and task bucket rows that were never reassigned. No cross-project access.

Fix

Reject `bb.ProjectViewID != b.ProjectViewID` in `canDoBucket`, with no `!= 0` exemption: every caller passes a view (`pkg/routes/api/v2/buckets.go:151`, `pkg/models/kanban_task_bucket.go:57`). This also hardens `Bucket.Update`.

_Found via internal security review (deep #38)._

Versiones

Rangos afectados

Afectada Corregida Última
code.vikunja.io/api≤ 2.7.0
v0.24.6
2.7.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gocode.vikunja.io/api
Sin parche — — v0.24.6 afectada
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/go-vikunja/vikunja/security/advisories/GHSA-9xh7-5jg8-mf43

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