Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-j6jp-78w8-34x6

Опубликовано: 13 мар. 2026
Источник: github
Github: Прошло ревью
CVSS3: 4.1

Описание

Gokapi vulnerable to Privilege Escalation in File Replace

Summary

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.

Impact

Any 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.

Пакеты

Наименование

github.com/forceu/gokapi

go
Затронутые версииВерсия исправления

<= 2.2.3

2.2.4

EPSS

Процентиль: 1%
0.00009
Низкий

4.1 Medium

CVSS3

Дефекты

CWE-863

Связанные уязвимости

CVSS3: 4.1
nvd
28 дней назад

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.

EPSS

Процентиль: 1%
0.00009
Низкий

4.1 Medium

CVSS3

Дефекты

CWE-863