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

Medium 5.0 Published Updated

A registered user can create an API key with elevated permissions to create or modify file requests, bypassing intended access controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-29060?

CVE-2026-29060 is a medium-severity vulnerability in Forceu Gokapi, published on 6 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-284

Which versions are affected by CVE-2026-29060?

3 open source packages ship an affected version, including github.com/forceu/gokapi. It affects 1 product.

PackageAffectedFixed in
github.com/forceu/gokapi GoAll versionsNone
github.com/forceu/gokapi GoAll versions2.2.3
github.com/forceu/gokapi GoAll versions2.2.3

Products include Forceu Gokapi.

How do I fix CVE-2026-29060?

Upgrade github.com/forceu/gokapi to 2.2.3 or later.

Is CVE-2026-29060 being exploited?

There is no known exploitation of CVE-2026-29060 in the wild and no public exploit code.

Sources

Also known as GHSA-m2hx-wjxc-9fp4, GO-2026-4615.

Is CVE-2026-29060 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free