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

GHSA-HRW2-P27J-8MJ8

Plugin and log directories not re-anchored to the rootpath

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
3.3
Baja
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/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:03 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
20 nov 26
22 oct 26
29 oct 26
5 nov 26
12 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-HRW2-P27J-8MJ8 divulgada · CVSS 3.3 (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

When `service.rootpath` changes after the defaults are set (a config file pinned with `--config`, or any config/env override of the rootpath), Vikunja loads plugins from the startup working directory and writes its logs, including `audit.log`, there instead of under the rootpath. Packaged units set `WorkingDirectory=/opt/vikunja`, so packaged installs aren't affected.

Details

`PluginsDir` (`pkg/config/config.go:541`) and `LogPath` (`:468`) get their defaults from `ResolvePath` before the config is loaded. `anchorRootpathToConfigFile` recomputes `DatabasePath` (`config.go:700-702`) but not `PluginsDir` or `LogPath` (the latter is also used by `pkg/audit/writer.go:56`). A relative `plugins.dir` is never resolved against the rootpath (`pkg/plugins/manager.go:63`), unlike `files.basepath` (`pkg/files/filehandling.go:47`).

Impact

Low. Needs a non-packaged deploy started from a directory other than the rootpath. Logs and the audit log end up in an unexpected, possibly more widely readable directory. With plugins enabled (off by default), the working directory becomes the plugin search path, so anyone who can write there gets code loaded into the server. Plugins are off by default, so the log path is the more common case.

Fix

Recompute `PluginsDir` and `LogPath` alongside `DatabasePath`, and resolve a relative `plugins.dir` the way `files.basepath` is resolved.

_Found via internal security review (f2 #9, deep #12)._

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
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.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-hrw2-p27j-8mj8

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