{"id":"CVE-2026-30943","aliases":["GHSA-j6jp-78w8-34x6","GO-2026-4696"],"url":"https://o3.security/vulnerability/CVE-2026-30943","summary":"Gokapi has Privilege Escalation in File Replace","details":"## Summary\n\nAn 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`.\n\n### Impact\n\nAny 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`.","published":"2026-03-13T19:07:01.576Z","modified":"2026-08-12T03:51:23.330309140Z","cvss":{"score":4.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N"},"epss":{"score":0.00179,"percentile":0.07706,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","fixedVersion":"2.2.4"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30943.json"},{"type":"ADVISORY","url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30943"},{"type":"PACKAGE","url":"https://github.com/Forceu/Gokapi"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2026-4696"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:23.330309140Z"}}