# CVE-2026-29060: Gokapi: Privilege escalation with auth token

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-05T18:57:18.000Z
- Modified: 2026-06-17T10:29:31.740Z
- Also known as: GHSA-m2hx-wjxc-9fp4, GO-2026-4615
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a registered user without privileges to create or modify file requests is able to create a short-lived API key that has the permission to do so. The user must be registered with Gokapi. If there are no users with access to the admin/upload menu, there is no impact. This issue has been patched in version 2.2.3.

(As written by CVE List.)

## Affected

- Forceu Gokapi: < 2.2.3; before 2.2.3
- github.com/forceu/gokapi (Go): before 2.2.3; all versions

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N`

## References

- <https://github.com/Forceu/Gokapi/security/advisories/GHSA-m2hx-wjxc-9fp4> (advisory, vendor-advisory, web)
- <https://github.com/Forceu/Gokapi/releases/tag/v2.2.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29060> (advisory)
- <https://github.com/Forceu/Gokapi> (package)

## Sources

- CVE List: [CVE-2026-29060](https://www.cve.org/CVERecord?id=CVE-2026-29060), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-m2hx-wjxc-9fp4](https://github.com/advisories/GHSA-m2hx-wjxc-9fp4), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4615](https://pkg.go.dev/vuln/GO-2026-4615), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-29060](https://nvd.nist.gov/vuln/detail/CVE-2026-29060), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29060 · Whole record: https://cve.day/CVE-2026-29060.json · Rebuilt by cve.day 2026-11-25T22:59:15.387Z
