CVE-2026-30943 json
Gokapi has Privilege Escalation in File Replace
published 2026-03-13 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-12075 , GHSA-j6jp-78w8-34x6 , GO-2026-4696
- cvss
- 4.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/forceu/gokapi 2.2.4
- forceu gokapi 2.2.4
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260317T205859-150000.1.152.1
suse advisories SUSE-SU-2026:1042-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N |
| GitHub | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N |
| NVD | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/forceu/gokapi | <2.2.4 all versions |
2.2.4 |
Affected products
- Forceu Gokapi
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6
web, vendor-advisory, advisory
-
github.com
/Forceu/Gokapi/releases/tag/v2.2.4
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-30943
advisory
-
github.com
/Forceu/Gokapi
package
-
pkg.go.dev
/vuln/GO-2026-4696
web
Sources
- CVE List CVE-2026-30943
- GitHub Advisory GHSA-j6jp-78w8-34x6
- NVD CVE-2026-30943
- OSV GO-2026-4696
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.