CVE-2026-29084: Gokapi: CSRF in Login Endpoint
Summary 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.
Issue found by aisafe.io
Impact An attacker can force a victim browser into a session associated with an existing user account where the attacker knows the credentials, causing user confusion, activity misattribution, and potential misuse of trusted user actions.
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-29084?
CVE-2026-29084 is classified as a moderate severity vulnerability due to the lack of CSRF protection in the login endpoint.
What are the impacts of CVE-2026-29084?
CVE-2026-29084 allows attackers to make unauthorized login attempts without proper session validation, potentially compromising user accounts.
How do I fix CVE-2026-29084?
To fix CVE-2026-29084, upgrade to Gokapi version 2.2.3 or later, which includes CSRF protection mechanisms.
Which versions of Gokapi are affected by CVE-2026-29084?
CVE-2026-29084 affects all versions of Gokapi prior to version 2.2.3.
Is there a workaround for CVE-2026-29084?
A temporary workaround for CVE-2026-29084 involves implementing custom CSRF protection in the application until an upgrade can be performed.