CVE-2026-30943
mediumpriority · track · 16OT risk · elevatedEPSS 0.002 · 8 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.8–4.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-j6jp-78w8-34x6Gokapi vulnerable to Privilege Escalation in File Replace2026-03-13ghsa · osvUS
## Summary 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`. ### Impact Any authenticated user with `PERM_REPLACE` (replace own files) and `PERM_LIST` (view other users' uploads) can delete any other user's file without needing `PERM_DELETE`.
- GO-2026-4696Gokapi vulnerable to Privilege Escalation in File Replace in github.com/forceu/gokapi2026-03-16vendor · osvUS
Gokapi vulnerable to Privilege Escalation in File Replace in github.com/forceu/gokapi. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/forceu/gokapi before v2.2.4.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/Forceu/Gokapi/releasesPatchcnnvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4cnnvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6cnnvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4enisa_euvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6enisa_euvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4ProductRelease Notesnvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan