Skip to main content
VulnerabilityPublished

CVE-2026-29061: Forceu Gokapi · Improper Access Control

Affects Forceu GokapiSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.4 Medium : upgrade to 2.2.3 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.2.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Gokapi and forceu/Gokapi to 2.2.3.

Affected software

ProductAffectedFixed in
ForceuGokapiAffected
  • <2.2.3
Fixed in
  • 2.2.3
GitHubforceu/Gokapipkg:github/forceu/GokapiOther threatsAffected
  • <2.2.3
Fixed in
  • 2.2.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade all affected Gokapi instances to version 2.2.3 or later, where the vulnerability has been patched. Administrators should audit existing API keys, especially those belonging to demoted users, and revoke or regenerate them to ensure no lingering elevated permissions remain. Implement strict API key lifecycle management and monitoring to detect anomalous usage patterns. Employ role-based access control (RBAC) reviews regularly to confirm that user privileges and associated API keys are synchronized correctly. Additionally, enable detailed logging and alerting on API key usage related to upload management and log access endpoints to detect potential abuse. Consider implementing multi-factor authentication (MFA) for administrative access to reduce the risk of compromised credentials being exploited. Finally, educate users and administrators about the importance of promptly updating software and revoking credentials when user roles change.

Description

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a privilege escalation vulnerability in the user rank demotion logic allows a demoted user's existing API keys to retain ApiPermManageFileRequests and ApiPermManageLogs permissions, enabling continued access to upload-request management and log viewing endpoints after the user has been stripped of all privileges. This issue has been patched in version 2.2.3.

References

Community reviews

Loading reviews…