Medium severity4.1NVD Advisory· Published Mar 13, 2026· Updated Jun 17, 2026
CVE-2026-30943
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
5- ghsa-coords3 versionspkg:golang/github.com/forceu/gokapipkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
< 2.2.4+ 2 more
- (no CPE)range: < 2.2.4
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
5- github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6nvdVendor AdvisoryWEB
- github.com/advisories/GHSA-j6jp-78w8-34x6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-30943ghsaADVISORY
- github.com/Forceu/Gokapi/releases/tag/v2.2.4nvdProductRelease NotesWEB
- pkg.go.dev/vuln/GO-2026-4696ghsaWEB
News mentions
0No linked articles in our index yet.