{"cve":"CVE-2026-30943","nvd":{"published":"2026-03-13T19:54:35.573","modified":"2026-06-17T10:33:11.800","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","score":4.1},"cwes":["CWE-863"],"references":["https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6"],"products":["forceu:gokapi"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-30943","score":0.00186,"percentile":0.08219,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j6jp-78w8-34x6","url":"https://osv.dev/vulnerability/GHSA-j6jp-78w8-34x6","summary":"Gokapi vulnerable to Privilege Escalation in File Replace","modified":"2026-03-24T21:16:29.129624Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["<2.2.4"],"fixed":["2.2.4"]}]},{"id":"GO-2026-4696","url":"https://osv.dev/vulnerability/GO-2026-4696","summary":"Gokapi vulnerable to Privilege Escalation in File Replace in github.com/forceu/gokapi","modified":"2026-03-23T04:52:56.519487Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}