Security mailing lists by PureSourceCode

CVE-2026-30943

MEDIUM 4.1CVSS 3.1

Gokapi vulnerable to Privilege Escalation in File Replace

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
13 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-863
Also known as
GHSA-j6jp-78w8-34x6GO-2026-4696
Sources
NVDJSONOSV GHSA-j6jp-78w8-34x6JSONOSV GO-2026-4696JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD forceu gokapi
cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*
< 2.2.4 2.2.4
OSV Go github.com/forceu/gokapi < 2.2.4 2.2.4
OSV Go github.com/forceu/gokapi all versions

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Mar 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.