{"id":"CVE-2026-30943","state":"PUBLISHED","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 in 2.2.4.","publishedAt":"2026-03-13T19:07:01.576Z","updatedAt":"2026-03-13T19:40:38.395Z","severity":{"score":4.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Forceu Gokapi"],"affected":[{"vendor":"Forceu","product":"Gokapi","versions":[{"version":"< 2.2.4","status":"affected"}]}],"references":["https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6","https://github.com/Forceu/Gokapi/releases/tag/v2.2.4"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/30xxx/CVE-2026-30943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30943","state":"PUBLISHED","datePublished":"2026-03-13T19:07:01.576Z","dateUpdated":"2026-03-13T19:40:38.395Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-07T17:34:39.979Z"},"containers":{"cna":{"title":"Gokapi has Privilege Escalation in File Replace","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Forceu","product":"Gokapi","versions":[{"version":"< 2.2.4","status":"affected"}]}],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6","name":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","name":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-13T19:07:01.576Z"},"source":{"advisory":"GHSA-j6jp-78w8-34x6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-13T19:40:28.442954Z","id":"CVE-2026-30943","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-13T19:40:38.395Z"}}]}}}