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

GHSA-9RFW-7HV4-3VV3

Local file storage blobs and SQLite database are world-readable

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
5.5
Media
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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
20 nov 26
22 oct 26
29 oct 26
5 nov 26
12 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-9RFW-7HV4-3VV3 divulgada · CVSS 5.5 (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

On a shared host, other local OS users can read Vikunja's stored attachments, project backgrounds, exports and the SQLite database (including password hashes), because the files are created world-readable.

Details

  • `localStorage.Write` (`pkg/files/storage_local.go:63-88`) writes through a temp file opened with mode `0666`, which the usual 022 umask turns into `0644`, then renames it into place. It deliberately avoids `os.CreateTemp` to keep that mode (comment at `:72`). Released versions up to 2.7.0 used `os.Create`, with the same result.
  • The temp dir (`:68`) and the storage base dir (`:106`) are created `0755`.
  • There are no other blob write paths. The export temp file already uses `os.CreateTemp` (`0600`, `pkg/models/export.go:41`).
  • The shipped `vikunja.service` sets neither `UMask=` nor `User=`. The SQLite file is created with the driver default mode.

Impact

Deployment-dependent. On a single-purpose container or VM there is no other local user and no exposure. On a shared host, any local account can read every user's attachments and exports and copy the SQLite DB, which holds password hashes and other secrets, enabling offline cracking.

Fix

Create blobs `0600` and the storage dir `0700` explicitly. Set `UMask=0077` in the systemd unit; it is the only thing that also covers the SQLite file. Add a one-off chmod for existing files and directories, since `Ensure` only creates a missing dir.

_Found via internal security review (f2 #4, 04 #2)._

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:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
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-9rfw-7hv4-3vv3

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