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-30943

CVE-2026-30943: Forceu Gokapi Auth Bypass Vulnerability

CVE-2026-30943 is an authorization bypass flaw in Forceu Gokapi allowing users to delete files without proper permissions. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 20, 2026

CVE-2026-30943 Overview

CVE-2026-30943 is an authorization bypass vulnerability in Gokapi, a self-hosted file sharing server that provides automatic expiration and encryption support. Prior to version 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 enables unauthorized file deletion through improper access control validation.

Critical Impact

Authenticated users with minimal permissions can delete files belonging to other users, potentially causing data loss and disrupting file sharing operations in self-hosted Gokapi deployments.

Affected Products

  • Forceu Gokapi versions prior to 2.2.4

Discovery Timeline

  • 2026-03-13 - CVE CVE-2026-30943 published to NVD
  • 2026-03-17 - Last updated in NVD database

Technical Details for CVE-2026-30943

Vulnerability Analysis

This vulnerability is classified as CWE-863 (Incorrect Authorization), representing a fundamental access control flaw in how Gokapi validates user permissions during file replacement operations. The file replace API endpoint fails to properly verify that the requesting user possesses the UserPermDeleteOtherUploads permission before allowing file deletion actions. Instead, the API only checks for UserPermListOtherUploads, a significantly less privileged permission intended solely for viewing file listings.

The attack can be executed remotely by an authenticated user with network access to the Gokapi server. The exploitation requires high-level privileges in terms of being an authenticated user, but the actual permission level needed (list visibility only) is much lower than what should be required for deletion operations. The vulnerability affects the integrity of other users' data without impacting confidentiality or availability beyond the deleted files.

Root Cause

The root cause lies in insufficient authorization checks within the file replace API implementation. When processing file replacement requests with the deleteNewFile flag enabled, the code path validates the user's UserPermListOtherUploads permission but fails to additionally verify UserPermDeleteOtherUploads before executing the deletion operation. This creates a privilege escalation path where users can perform destructive actions beyond their intended permission scope.

Attack Vector

An authenticated attacker with only the UserPermListOtherUploads permission can exploit this vulnerability by crafting a malicious file replace API request. By setting the deleteNewFile flag in the request, the attacker can trigger file deletion logic that should be gated behind the UserPermDeleteOtherUploads permission. The attack is performed over the network against the Gokapi web API, requiring no user interaction and resulting in unauthorized deletion of files owned by other users.

The exploitation flow involves:

  1. Authenticating to the Gokapi server with a low-privileged account that has UserPermListOtherUploads
  2. Identifying target files owned by other users through the list functionality
  3. Sending a crafted file replace API request with the deleteNewFile flag set to true
  4. The server processes the deletion without verifying UserPermDeleteOtherUploads, resulting in unauthorized file removal

Detection Methods for CVE-2026-30943

Indicators of Compromise

  • Unexpected file deletions by users who lack UserPermDeleteOtherUploads permission
  • API logs showing file replace requests with deleteNewFile flag from low-privileged accounts
  • Audit trails indicating files deleted by users other than the file owner without proper delete permissions
  • Increased file replace API activity from accounts with limited permission sets

Detection Strategies

  • Monitor API access logs for file replace endpoint calls that include the deleteNewFile parameter
  • Implement alerting on file deletion events where the acting user lacks UserPermDeleteOtherUploads permission
  • Review user permission assignments and cross-reference with deletion activity logs
  • Deploy application-layer logging to capture authorization check results for sensitive operations

Monitoring Recommendations

  • Enable verbose logging for all file management API endpoints in Gokapi
  • Set up alerts for anomalous patterns in file deletion activity, particularly by users with restricted permissions
  • Regularly audit user permissions and compare against expected access control policies
  • Monitor for repeated file replace API calls from the same user targeting multiple file owners

How to Mitigate CVE-2026-30943

Immediate Actions Required

  • Upgrade Gokapi to version 2.2.4 or later immediately to apply the security fix
  • Review recent API logs for potential exploitation attempts using the file replace endpoint
  • Audit all user accounts with UserPermListOtherUploads permission for any unauthorized deletion activity
  • Consider temporarily restricting access to the file replace API until the patch is applied

Patch Information

The vulnerability has been fixed in Gokapi version 2.2.4. The patch addresses the insufficient authorization check by properly validating that users possess the UserPermDeleteOtherUploads permission before allowing file deletion operations through the file replace API. Administrators should upgrade to this version or later to remediate the vulnerability.

For detailed information about the fix, refer to:

  • Gokapi Release v2.2.4
  • GitHub Security Advisory GHSA-j6jp-78w8-34x6

Workarounds

  • Restrict the UserPermListOtherUploads permission to only trusted administrative users until the patch can be applied
  • Implement network-level access controls to limit which users can reach the Gokapi API endpoints
  • Consider deploying a web application firewall (WAF) rule to block file replace API requests containing the deleteNewFile parameter from non-administrative accounts
  • Disable the file replace functionality entirely if it is not required for business operations
bash
# Verify Gokapi version after upgrade
gokapi --version
# Expected output: 2.2.4 or higher

# Review API logs for potential exploitation (example path may vary)
grep -i "deleteNewFile" /var/log/gokapi/api.log

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechForceu Gokapi

  • SeverityMEDIUM

  • CVSS Score4.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • Gokapi Release v2.2.4
  • Vendor Resources
  • GitHub Security Advisory GHSA-j6jp-78w8-34x6
  • Related CVEs
  • CVE-2026-30961: Forceu Gokapi Auth Bypass Vulnerability

  • CVE-2026-30955: Forceu Gokapi DOS Vulnerability

  • CVE-2026-29084: Forceu Gokapi CSRF Vulnerability

  • CVE-2026-28683: Forceu Gokapi XSS 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