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

CVE-2026-30961: Forceu Gokapi Auth Bypass Vulnerability

CVE-2026-30961 is an authentication bypass flaw in Forceu Gokapi that allows attackers to circumvent file size limits using chunked uploads. This article covers technical details, affected versions, and mitigations.

Published: March 20, 2026

CVE-2026-30961 Overview

CVE-2026-30961 is a Resource Exhaustion vulnerability in Gokapi, a self-hosted file sharing server with automatic expiration and encryption support. The vulnerability exists in versions prior to 2.2.4 where the chunked upload completion path for file requests does not validate the total file size against the per-request MaxSize limit. This flaw allows attackers to bypass configured file size restrictions by splitting oversized files into smaller chunks.

Critical Impact

Attackers with access to a public file request link can upload files exceeding the configured size limit, potentially exhausting server storage resources and bypassing administrative controls designed to limit file sizes.

Affected Products

  • Forceu Gokapi versions prior to 2.2.4
  • All deployments using public file request links with MaxSize limits configured
  • Self-hosted Gokapi instances with chunked upload functionality enabled

Discovery Timeline

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

Technical Details for CVE-2026-30961

Vulnerability Analysis

This vulnerability stems from improper validation of cumulative file sizes during chunked upload operations. When users upload files through Gokapi's file request feature, administrators can configure a MaxSize limit to restrict the size of individual uploads. However, the validation logic only checks the size of each individual chunk against this limit, rather than tracking and validating the total size of all chunks combined.

The practical impact allows an attacker who possesses a public file request link to circumvent size restrictions entirely. By splitting a large file into multiple chunks—each individually smaller than the configured MaxSize—the attacker can sequentially upload these chunks. The server accepts each chunk because it passes the per-chunk validation, ultimately assembling them into a file that exceeds the intended limit.

Files can grow up to the server's global MaxFileSizeMB configuration, completely ignoring the per-request size limitations set by administrators. This represents a significant bypass of access controls and resource management policies.

Root Cause

The root cause is a missing aggregate size validation in the chunked upload completion handler. The code path responsible for finalizing chunked uploads does not sum the sizes of all uploaded chunks and compare this total against the file request's MaxSize configuration. This is classified as CWE-770 (Allocation of Resources Without Limits or Throttling), as the server allocates storage resources without enforcing the intended constraints.

Attack Vector

The attack is network-based and requires low privilege—specifically, access to a valid public file request link. An attacker can exploit this vulnerability through the following approach:

  1. Obtain a public file request link that has a MaxSize limit configured
  2. Prepare a file larger than the configured limit
  3. Split the file into chunks, each smaller than the MaxSize threshold
  4. Upload each chunk sequentially through the chunked upload API
  5. Complete the upload, resulting in a file that exceeds the intended size limit

The vulnerability exploits the gap between per-chunk validation and aggregate size enforcement. Since the chunked upload completion endpoint does not perform a final size validation, the assembled file bypasses administrative controls. This could be used for denial of service through storage exhaustion or to upload excessively large files that administrators intended to prevent.

Detection Methods for CVE-2026-30961

Indicators of Compromise

  • Uploaded files exceeding the configured MaxSize limit on file requests
  • Multiple sequential chunk uploads from the same source completing into large files
  • Storage utilization anomalies or rapid growth beyond expected patterns
  • Log entries showing chunked upload completions with final sizes exceeding request limits

Detection Strategies

  • Monitor file request uploads and compare final file sizes against configured MaxSize values
  • Implement alerting for files that approach or exceed the global MaxFileSizeMB through file request links
  • Review access logs for patterns of chunked uploads that result in unexpectedly large files
  • Audit file request configurations and compare against actual uploaded file sizes

Monitoring Recommendations

  • Enable detailed logging for chunked upload operations including total assembled file sizes
  • Set up storage utilization alerts to detect unexpected consumption patterns
  • Monitor the file request upload endpoint for high-volume chunk submissions
  • Implement anomaly detection for file sizes that deviate from typical upload patterns

How to Mitigate CVE-2026-30961

Immediate Actions Required

  • Upgrade Gokapi to version 2.2.4 or later immediately
  • Review recently uploaded files via file requests to identify any that exceed configured limits
  • Consider temporarily disabling public file request links until the upgrade is complete
  • Audit storage consumption to identify potential abuse

Patch Information

The vulnerability has been fixed in Gokapi version 2.2.4. The patch implements proper aggregate size validation during chunked upload completion, ensuring that the total size of all chunks is validated against the file request's MaxSize configuration before finalizing the upload. Users should upgrade to this version or later to remediate the vulnerability. For detailed information, see the GitHub Security Advisory GHSA-45vh-rpc8-hxpp and the Gokapi Release v2.2.4.

Workarounds

  • Temporarily disable public file request functionality until the patch can be applied
  • Reduce the global MaxFileSizeMB setting to limit potential abuse
  • Implement network-level controls to restrict access to file request endpoints
  • Monitor and manually review all files uploaded via file requests for size compliance
  • Consider adding reverse proxy rules to limit total upload sizes at the network layer
bash
# Configuration example
# Temporarily restrict file request access at the reverse proxy level
# Example for nginx - add to location block for Gokapi
client_max_body_size 50M;  # Set to match your intended MaxSize limit

# Monitor storage usage
df -h /path/to/gokapi/data

# Check for oversized files uploaded recently
find /path/to/gokapi/data -type f -size +100M -mtime -7 -ls

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

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Technical References
  • Gokapi Release v2.2.4
  • Vendor Resources
  • GitHub Security Advisory GHSA-45vh-rpc8-hxpp
  • Related CVEs
  • CVE-2026-30943: 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