CVE-2026-30943Forceu Gokapi
Medium 4.1
Follow: this CVE · Forceu · Forceu Gokapi We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 3.1
- 4.1
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 13, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
What happens
Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to 2.2.4, An insufficient authorization check in the file replace API allows a user with only list visibility permission (UserPermListOtherUploads) to delete another user's file by abusing the deleteNewFile flag, bypassing the requirement for UserPermDeleteOtherUploads. This vulnerability is fixed in 2.2.4.
What to do
- Apply the vendor's security update for Gokapi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/forceu/gokapi |
< 2.2.4 |
2.2.4 |
go get github.com/forceu/gokapi@v2.2.4 |
| Go | github.com/forceu/gokapi |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-j6jp-78w8-34x6, GO-2026-4696). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| forceu | gokapi | < 2.2.4 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- github.com Vendor Advisory