Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-29061

CVE-2026-29061: Forceu Gokapi Privilege Escalation Flaw

CVE-2026-29061 is a privilege escalation vulnerability in Forceu Gokapi allowing demoted users to retain elevated API permissions. This article covers technical details, affected versions, security impact, and mitigation.

Published: March 13, 2026

CVE-2026-29061 Overview

CVE-2026-29061 is a privilege escalation vulnerability in Gokapi, a self-hosted file sharing server with automatic expiration and encryption support. The vulnerability exists in the user rank demotion logic, where a demoted user's existing API keys retain ApiPermManageFileRequests and ApiPermManageLogs permissions even after the user has been stripped of all privileges. This allows continued unauthorized access to upload-request management and log viewing endpoints.

Critical Impact

Demoted users can retain administrative API capabilities, potentially accessing sensitive file upload requests and server logs after their privileges have been revoked.

Affected Products

  • Forceu Gokapi versions prior to 2.2.3

Discovery Timeline

  • 2026-03-06 - CVE-2026-29061 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-29061

Vulnerability Analysis

This privilege escalation vulnerability (CWE-284: Improper Access Control) occurs due to a flaw in how Gokapi handles API key permissions during user rank demotion. When an administrator demotes a user's rank or strips their privileges, the system fails to properly revoke or update the permissions associated with that user's existing API keys.

The vulnerability specifically affects two sensitive permission scopes: ApiPermManageFileRequests which controls upload-request management functionality, and ApiPermManageLogs which grants access to server log viewing endpoints. A malicious user who anticipates demotion could retain these API keys and continue to access privileged functionality after their user account has been demoted.

Root Cause

The root cause lies in the incomplete implementation of the user demotion workflow. When a user's rank is modified, the system updates the user record but fails to cascade those permission changes to the associated API keys. This creates a privilege persistence issue where the API keys become orphaned from the user's actual permission level, maintaining elevated access that should have been revoked.

Attack Vector

The attack vector is network-based and requires low privileges with user interaction. An attacker would need:

  1. An existing user account with elevated privileges in Gokapi
  2. One or more API keys with ApiPermManageFileRequests or ApiPermManageLogs permissions
  3. Knowledge or anticipation of an impending privilege demotion

Once demoted, the attacker can use their pre-existing API keys to continue accessing protected endpoints. This could enable unauthorized viewing of file upload requests (potentially containing sensitive data) and server logs (which may contain security-relevant information, user activity, and system details).

Detection Methods for CVE-2026-29061

Indicators of Compromise

  • API requests to /api/fileRequests or log viewing endpoints from users whose accounts show reduced privileges
  • Continued API key activity from accounts that have been recently demoted
  • Discrepancies between user permission levels and API key access patterns in audit logs

Detection Strategies

  • Implement monitoring for API key usage patterns, particularly after user permission changes
  • Cross-reference user account privilege levels with API key activity to detect permission drift
  • Audit all active API keys when user demotions occur to identify keys with elevated permissions

Monitoring Recommendations

  • Enable detailed logging for all API endpoints, particularly those related to file request management and log viewing
  • Set up alerts for API activity from recently demoted user accounts
  • Regularly audit API key permissions against current user privilege levels

How to Mitigate CVE-2026-29061

Immediate Actions Required

  • Upgrade Gokapi to version 2.2.3 or later immediately
  • Manually revoke all API keys for any users who have been recently demoted
  • Audit existing API keys for permissions that exceed their associated user's current privilege level
  • Review access logs for any unauthorized access to file request management or log viewing endpoints

Patch Information

This vulnerability has been patched in Gokapi version 2.2.3. The fix ensures that API key permissions are properly synchronized when user ranks are modified. Upgrade information is available at the GitHub Gokapi Release v2.2.3 page. Additional details about the vulnerability are documented in the GitHub Security Advisory GHSA-q658-hfpg-35qc.

Workarounds

  • Manually revoke and regenerate API keys for any users whose privileges have been reduced
  • Implement a policy to delete all API keys when demoting user accounts until the patch can be applied
  • Temporarily disable API key functionality if immediate patching is not possible
bash
# After upgrading, verify your Gokapi version
gokapi --version
# Expected output: 2.2.3 or higher

# Review and revoke API keys for demoted users via the admin interface
# Navigate to Settings > API Keys and audit permissions

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechForceu Gokapi

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Gokapi Release v2.2.3
  • Vendor Resources
  • GitHub Security Advisory GHSA-q658-hfpg-35qc
  • Related CVEs
  • CVE-2026-30943: Forceu Gokapi Auth Bypass Vulnerability

  • CVE-2026-30955: Forceu Gokapi DOS Vulnerability

  • CVE-2026-30961: Forceu Gokapi Auth Bypass Vulnerability

  • CVE-2026-29084: Forceu Gokapi CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English