{"answers":{"affected":"3 open source packages ship an affected version, including github.com/forceu/gokapi. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-30961 in the wild and no public exploit code.","fix":"Upgrade github.com/forceu/gokapi to 2.2.4 or later.","what":"CVE-2026-30961 is a medium-severity vulnerability in Forceu Gokapi, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-30961 and fix it if it is affected.\n\nWhat it is: CVE-2026-30961 is a medium-severity vulnerability in Forceu Gokapi, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-30961 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/forceu/gokapi (Go): affected all versions; no fix listed\n- github.com/forceu/gokapi (Go): affected all versions; fixed in 2.2.4\n- github.com/forceu/gokapi (Go): affected all versions; fixed in 2.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-30961/ (Markdown: https://insights.sbomify.com/CVE-2026-30961/index.md)","id":"CVE-2026-30961","markdown":"https://insights.sbomify.com/CVE-2026-30961/index.md","name":"CVE-2026-30961","record":{"aliases":["GHSA-45vh-rpc8-hxpp","GO-2026-4695"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Self-hosted file sharing server","requires_auth":"low_privilege","summary":"Attackers can bypass file size limits on public file requests by uploading oversized files in multiple chunks, potentially exhausting server storage.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gokapi","vendor":"forceu"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to 2.2.4, 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. This vulnerability is fixed in 2.2.4.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload","id":"CVE-2026-30961","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Parse Server has a protected fields bypass via logical query operators","id":"CVE-2026-30962"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"GO-2026-4695"},{"ecosystem":"Go","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/forceu/gokapi","purl":null,"source":"GHSA-45vh-rpc8-hxpp"},{"ecosystem":"Go","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"GHSA-45vh-rpc8-hxpp"}],"prev":{"headline":"RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface","id":"CVE-2026-30960"},"products":["Gokapi"],"published":"2026-03-13","related":[{"cvss_score":8.7,"headline":"Gokapi: Stored XSS in SVG Hotlinks","id":"CVE-2026-28683","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":6.5,"headline":"Gokapi vulnerable to DoS in E2E Metadata Parser","id":"CVE-2026-30955","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":6.4,"headline":"Gokapi: Data Leak in Upload Status Stream","id":"CVE-2026-28682","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":5.4,"headline":"Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion","id":"CVE-2026-29061","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":5,"headline":"Gokapi: Privilege escalation with auth token","id":"CVE-2026-29060","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":4.8,"headline":"Gokapi vulnerable to stored XSS via uploading file with malicious file name","id":"CVE-2025-48494","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":4.8,"headline":"Gokapi has stored XSS vulnerability in friendly name for API keys","id":"CVE-2025-48495","kev_date_added":null,"published":"2025-06-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-13","vendors":["Forceu"]},"summary":"Attackers can bypass file size limits on public file requests by uploading oversized files in multiple chunks, potentially exhausting server storage.","url":"https://insights.sbomify.com/CVE-2026-30961/"}