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

GHSA-5F6V-J6XM-WWJ9

Project-webhook token scope reaches user-level webhooks

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
5.4
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición28 dDesde la divulgación, 22 oct 2026, 5:02 a. m.
Detección27 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
22 oct 26
18 nov 26
19 nov 26
22 oct 26
29 oct 26
5 nov 26
12 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-5F6V-J6XM-WWJ9 divulgada · CVSS 5.4 (GitHub)
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

An API token scoped only to project webhooks (`projects_webhooks`) can create, list, update and delete its owner's account-wide user webhooks, which token scopes deliberately exclude (`pkg/models/api_routes.go:266` skips `user_*` route groups). This stays within the token owner's account; it is not a cross-user escalation.

Details

  • `Webhook.UserID`/`ProjectID` are JSON-bindable despite `readOnly`. v1 binds the body last; v2 is reached via path `project=0` plus a body `user_id` (`pkg/routes/api/v2/webhooks.go:115`), and `Create` validation passes (`pkg/models/webhooks.go:171-176`).
  • `pkg/models/webhooks_permissions.go:72-74` then authorizes on `UserID == self`.
  • Read: a v1 GET with a JSON body is bound (`BindBody` only checks `ContentLength`), so `ReadAll` lists user webhooks (`webhooks.go:232`).
  • Update/delete: `canDoWebhook` swaps in the stored `UserID`/`ProjectID` (`webhooks_permissions.go:67-68`), and `Delete` deletes by id only (`webhooks.go:329`).

Impact

Medium. Needs a valid token with the `projects_webhooks` scope. Whoever holds such a narrowly scoped token (for example an integration that should only manage project webhooks) can register a user-level webhook to their own receiver and get the owner's user-directed events (reminders, overdue tasks) with task payloads from all of the owner's projects, and can read, change or delete the owner's existing user webhooks.

Fix

  • Create and ReadAll: derive the resource class from the route alone. In v2 `webhooksCreate`, set `Body.UserID = 0`; on v1, force it in a route wrapper as `pkg/routes/api/v1/user_webhooks.go:100` does (the model can't tell where a value came from).
  • Update/delete: check that the stored webhook is project-level and belongs to the URL's project. Zeroing the body does nothing here.

_Found via internal security review (03 #23, 03 #24, deep #20)._

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
code.vikunja.io/api≥ 2.2.0 ≤ 2.7.0
v0.24.6
2.2.0
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 no 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-5f6v-j6xm-wwj9

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