{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-30943","id":"CVE-2026-30943","title":"Gokapi has Privilege Escalation in File Replace","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 i","descriptionLong":"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.","published":"2026-03-13T19:07:01.576Z","updated":"2026-10-28T02:30:42.444109969Z","reserved":"2026-03-07T17:34:39.979Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Forceu Gokapi"],"affectedProducts":[{"vendor":"Forceu","product":"Gokapi","defaultStatus":null,"versions":[{"version":"< 2.2.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["<2.2.4","all versions"],"fixed":["2.2.4"],"advisory":"GHSA-j6jp-78w8-34x6"}],"cwes":["CWE-863"],"aliases":["GHSA-j6jp-78w8-34x6","GO-2026-4696"],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30943.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30943","tags":["advisory"]},{"url":"https://github.com/Forceu/Gokapi","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4696","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00194,"epssPercentile":0.09158,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-30943","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30943","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-30943","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j6jp-78w8-34x6","ok":true,"note":"GHSA-j6jp-78w8-34x6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-30943","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}