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

GHSA-7GMH-4FW6-8XC5

Export archives are orphaned on disk and never cleaned up

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
4.3
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Fuente: GitHub
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:04 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
6 nov 26
13 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-7GMH-4FW6-8XC5 divulgada · CVSS 4.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
Full-data export archives (a user's projects, tasks, comments and attachments) pile up in file storage. A re-export, a failed export, or account deletion leaves the archive on disk indefinitely. Any authenticated user can grow storage by re-exporting, and data of deleted accounts stays on disk.

## Details
- `pkg/models/export.go:98` overwrites `ExportFileID` without deleting the previous file, and export jobs are not serialized.
- The expiry cron only reaps files referenced by a current pointer (`pkg/models/export.go:492`), so overwritten archives are never removed.
- When `ExportUserData` fails, the row is rolled back after the blob is already stored (`pkg/models/listeners.go:1745`).
- `DeleteUser` (`pkg/models/user_delete.go:135`) removes no files, neither the export archive nor `AvatarFileID` (`pkg/user/user.go:105`).
- Commit 29a6f26b4 fixed a different bug; the orphans it created on existing instances are still on disk.

## Impact
Gradual disk exhaustion by an authenticated user re-triggering exports (each archive includes all their attachments), and retention of personal data after account deletion or after the export should have expired. Orphaned archives are not reachable through the API.

## Fix
- Delete the previous export file in the same transaction as the pointer swap.
- Delete the stored blob when the export fails.
- Add the export and avatar files to `DeleteUser` cleanup.
- A cron that "reaps any expired export blob" can't work as written, because `files.File` (`pkg/files/files.go:40`) has no type marker. Add one, or do a one-off orphan sweep.

_Found via internal security review (f2 #5, 03 #6, deep #4)._

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:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:L
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-7gmh-4fw6-8xc5

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