Moderate severityNVD Advisory· Published Mar 13, 2026· Updated Mar 13, 2026
Gokapi has Privilege Escalation in File Replace
CVE-2026-30943
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/forceu/gokapiGo | < 2.2.4 | 2.2.4 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/forceu/gokapipkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.2.4+ 1 more
- (no CPE)range: < 2.2.4
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-j6jp-78w8-34x6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-30943ghsaADVISORY
- github.com/Forceu/Gokapi/releases/tag/v2.2.4ghsax_refsource_MISCWEB
- github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4696ghsaWEB
News mentions
0No linked articles in our index yet.