Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/forceu/gokapi
  4. ›
  5. CVE-2026-30961

CVE-2026-30961: Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload

March 13, 2026 (updated March 16, 2026)

The chunked upload completion path for file requests does not validate the total file size against the per-request MaxSize limit. An attacker with a public file request link can split an oversized file into chunks each under MaxSize and upload them sequentially, bypassing the size restriction entirely. Files up to the server’s global MaxFileSizeMB are accepted regardless of the file request’s configured limit.

References

  • github.com/Forceu/Gokapi
  • github.com/Forceu/Gokapi/releases/tag/v2.2.4
  • github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp
  • github.com/advisories/GHSA-45vh-rpc8-hxpp
  • nvd.nist.gov/vuln/detail/CVE-2026-30961

Code Behaviors & Features

Detect and mitigate CVE-2026-30961 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.4

Fixed versions

  • 2.2.4

Solution

Upgrade to version 2.2.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/forceu/gokapi/CVE-2026-30961.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:36 +0000.