Forceu Gokapi denial of service in file request chunk uploads
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Summary
Forceu Gokapi has a flaw that lets guests holding file request links bypass the per-file size limit. An attacker can reach it remotely with low-level access by uploading chunks through a link with a larger limit and completing the upload through a link with a smaller one, which stores oversized files and uses up server storage.
Written by a model
Original description
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.
Who should check
Teams running Gokapi 2.2.4 that offer file request upload links to guests
“Affecting Gokapi >= 2.2.4, <= 2.2.4”
What to do
Check whether your setup matches what the bug needs.
Gokapi version 2.2.4 Attacker holds two file request links with different per-file size limitsApply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138383 (Gokapi 2.2.4 File Request MaxSize Limit Bypass via apiChunkUploadRequestComplete), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138383 (entry last updated 2026-11-29):
Affected:
- Go package github.com/forceu/gokapi: version 2.2.4
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Gokapi version 2.2.4 (source: https://www.vulncheck.com/advisories/gokapi-2.2.4-file-request-maxsize-limit-bypass-via-apichunkuploadrequestcomplete)
- Attacker holds two file request links with different per-file size limits (source: https://www.vulncheck.com/advisories/gokapi-2.2.4-file-request-maxsize-limit-bypass-via-apichunkuploadrequestcomplete)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-138383 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138383 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Go): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/Forceu/Gokapi/commit/88827deda9637ea1bc0706bf18f8d22343814fce
- https://github.com/Forceu/Gokapi/blob/9a4b289c604198c05589e34314e889d2c25386d8/internal/webserver/api/Api.go#L522-L541
- https://github.com/Forceu/Gokapi
- https://www.vulncheck.com/advisories/gokapi-2.2.4-file-request-maxsize-limit-bypass-via-apichunkuploadrequestcomplete
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138383
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138383"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach10/20Affects Go packages
- Severity2.3/10CVSS 2.3
- No patch0/5No signal
What would change the score
- Would score about 70 if added to CISA KEV
- Would score about 65 if CISA's SSVC rates exploitation active
- Would score about 27 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138383 |
| Record | NVD · CVE-2026-138383 |
| Other links 4 | |
| Patch | GitHub · Forceu/Gokapi · Commit 88827ded |
| Repository | GitHub · Forceu/Gokapi · internal/webserver/api/Api.go · L522-L541 |
| Repository | GitHub · Forceu/Gokapi · Repository |
| Link | vulncheck.com · advisories/gokapi-2.2.4-file-request-maxsize-limit-bypass-via-apichunkuploadrequestcomplete |
Questions about CVE-2026-138383
Is CVE-2026-138383 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A guest who holds two file request links with different per-file size limits can upload chunks through the link with the larger limit and then complete the upload through the link with the smaller limit. This stores files larger than the smaller link's MaxSize limit and uses up server storage.
Source: vulncheck.com
Which versions are affected by CVE-2026-138383?
github.com/forceu/gokapi (Go): from 2.2.4 through 2.2.4.
Source: cve.now feed data
Am I affected, and how do I check?
The vendor's range covers Gokapi 2.2.4 only. The setup involves file request links that carry different per-file size limits. To check the installed version, look at the Gokapi version shown in the server or the release used for the deployment.
Source: vulncheck.com
How do I fix CVE-2026-138383?
The checked facts name no fixed version, patch, or workaround, so no upgrade target can be given from them. Check the vendor's advisory for a fixed release or workaround.
Source: vulncheck.com
Related
- CVE-2026-28683Gokapi: Stored XSS in SVG Hotlinks
- CVE-2026-30955Gokapi vulnerable to DoS in E2E Metadata Parser
- CVE-2026-28682Gokapi: Data Leak in Upload Status Stream
- CVE-2026-29061Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
- CVE-2026-29060Gokapi: Privilege escalation with auth token
- CVE-2025-48495Gokapi has stored XSS vulnerability in friendly name for API keys
No corrections so far. Something wrong on this page? Report an error.