Vulnerability · Published Mar 6, 2026 · Assigned by GitHub_M
CVE-2026-29084Gokapi: CSRF in Login Endpoint
Medium 4.6
In plain English
A medium-severity cross-site request forgery in Gokapi from Forceu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 0% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, the login flow accepts credential-bearing requests without CSRF protection mechanisms tied to the browser session context. The handler parses form values directly and creates a session on successful credential validation. This issue has been patched in version 2.2.3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/forceu/gokapi | 2.2.3 | GHSA-hcff-qv74-7hr4 |
| Go | github.com/forceu/gokapi | no fix listed | GO-2026-4624 |
Affected products (as reported)
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-hcff-qv74-7hr4 x_refsource_CONFIRM
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3 x_refsource_MISC