GitHub Advisoryadvisory · Go

GHSA-c36c-7pc2-f2ph Gokapi has Data Leak in Upload Status Stream

MEDIUM Published 2026-03-05 Modified 2026-03-06 Official page ↗
Aliases
CVE-2026-28682
Ecosystem
Go
Packages
github.com/forceu/gokapi
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-200, CWE-284
Reviewed
2026-03-05

Affected packages

• Go github.com/forceu/gokapi: < 2.2.3 → fixed in 2.2.3

Description

Description The upload status SSE implementation on `/uploadStatus` publishes global upload state to any authenticated listener and includes `file_id` values that are not scoped to the requesting user. Impact Any authenticated user can observe other users' file identifiers and retrieve unauthorized content, causing cross-tenant data exposure and loss of confidentiality for uploaded documents. *Issue found by aisafe.io*

Related

Alias · CVE (1)

  • CVE-2026-28682 Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-284 Improper Access Control weakness

References