Skip to main content

Gokapi EUVDEUVD-2026-137796

| CVE-2026-138383 LOW
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-29 disclosure@vulncheck.com GHSA-9fgc-pq3h-6vf8
2.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain two file-request links with differing limits
  2. Exploit
    Upload chunks via larger-limit link
  3. Execution
    Complete via smaller-limit link
  4. Impact
    Store oversized file, consume server storage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold at least two valid Gokapi guest file-request (upload) links that have been configured with different per-file MaxSize limits; the attacker uploads chunks through the link with the larger limit and then calls apiChunkUploadRequestComplete referencing the link with the smaller limit to bypass the cap. Limiting factors: the actor must already possess legitimate file-request links (PR:L, not anonymous), the deployment must have issued links with differing MaxSize values (the AT:P precondition), and the impact is confined to storage consumption/denial of service with no confidentiality or integrity effect. The complete fix is to update to the patched version; the fix commit enforces the size check at completion time.

Impact

This is a genuinely low-priority issue, and the signals agree on that. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) with only VA:L and no confidentiality or integrity impact yields a 2.3 base score, and the vuln.today decision label is 'monitor' - not act_now or emergency. The sole impact is uncontrolled resource consumption (CWE-770): an attacker who already holds valid guest file-request links can store oversized files and consume server storage, a bounded denial-of-service/storage-abuse condition rather than code execution or data exposure. PR:L confirms the actor must already possess a legitimate upload link, and AT:P reflects that a specific precondition (links carrying differing MaxSize limits) must exist. No EPSS score and no KEV status were provided in the input, and no public exploit code is referenced - the only code artifacts are the vendor fix commit and the VulnCheck advisory. There is no conflict among the signals; the one caveat is that no numeric fixed version is stated in the input, only the fix commit. Net: a real but minor hardening fix, not an urgent priority.

Exploit ScenarioDerived

An attacker who has been issued two Gokapi guest file-request links with different per-file MaxSize limits uploads file chunks through the link with the larger limit, then finalizes the upload via apiChunkUploadRequestComplete referencing the link with the smaller limit, bypassing the intended size cap. Repeating this stores oversized files and gradually exhausts server storage. No public exploit code is referenced in the available sources; only the vendor fix commit and advisory are provided.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

Storage exhaustion in Gokapi 2.2.4 lets a guest who already holds valid file-request upload links bypass a per-file MaxSize limit by uploading chunks through a link configured with a larger limit and then completing the upload through a link with a smaller limit. Oversized files are accepted and consume server storage, producing a low-impact denial of service with no confidentiality or integrity effect; the assessed CVSS:3.1 vector is AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L. Exploitation requires multiple legitimate guest links with differing MaxSize values, and no public exploit or confirmed active exploitation is identified in the provided data; priority is monitor.

RemediationAI

Upstream fix available (commit 88827deda9637ea1bc0706bf18f8d22343814fce); a released patched version is not identified in the supplied data. The commit enforces the per-file MaxSize limit in apiChunkUploadRequestComplete, so deployers should use a Gokapi build that contains it and confirm release status through the vendor advisory at https://www.vulncheck.com/advisories/gokapi-2.2.4-file-request-maxsize-limit-bypass-via-apichunkuploadrequestcomplete. The independent assessment states that updating to the patched code is the complete fix. If immediate upgrade is not possible, constrain guest file-request links so that a user cannot hold multiple valid upload links with differing per-file MaxSize limits, because the bypass depends on completing a larger-limit chunk upload through a smaller-limit request; this reduces exposure but does not replace the code fix, and storage consumption should be monitored.

Affected VersionsENISA

Gokapi 2.2.4 ≤2.2.4

Affected Packages

euvd gokapi no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gokapi is a Go-based file-sharing service, and the affected code is in internal/webserver/api/Api.go around apiChunkUploadRequestAdd and apiChunkUploadRequestComplete. CWE-770 describes the root cause: resource allocation without an effective limit. Gokapi 2.2.4 was intended to fix CVE-2026-30961, but the MaxSize check was applied when adding chunk upload requests and not when completing them. Commit 88827deda9637ea1bc0706bf18f8d22343814fce adds getUploadRequestMaxSizeMb and rechecks at completion, rejecting uploads where uploadParams.RealSize exceeds maxUpload*1024*1024 with FileTooLarge. The bypass is a cross-link logic flaw: chunks are sent under a larger-limit request and completion references a smaller-limit request. The supplied sources do not describe memory corruption, a race condition, or an attacker-uncontrolled trigger; the effect is storage consumption.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Requires a legitimate guest upload link (PR:L) and the specific precondition of two links with differing MaxSize limits (AC:H); only storage/availability is affected (A:L), with no confidentiality or integrity impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Gokapi 2.2.4 contains an incomplete fix for CVE-2026-30961 that allows guests holding file request links to bypass the per-file MaxSize limit through apiChunkUploadRequestComplete. Attackers can upload chunks through a link with a larger limit and complete via a smaller-limit link, storing oversized files and consuming server storage.

Threat Intelligence Overview

EPSS Score
0.5%
Top 64% exploitable
Prevalence
Low
niche self-hosted open-source file-sharing server, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

13
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy