Auth bypass in Forceu Gokapi
CVE-2026-30943
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.
Vulnerability class: Broken Access Control
EPSS: 0.002 (7.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N.
Affected products
- Forceu Gokapi — versions < 2.2.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Product, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-30943?
- CVE-2026-30943 is a medium-severity vulnerability in Forceu Gokapi, classified under Incorrect Authorization. CVSS score: 4.1/10. Published 2026-03-13.
- How severe is CVE-2026-30943?
- Medium severity. CVSS v3 base score is 4.1 out of 10.