CVE-2026-29084: Gokapi: CSRF in Login Endpoint

Published Mar 5, 2026
·
Updated

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

2 affected componentsFixes available
go/github.com/forceu/gokapi<2.2.3
2.2.3
Forceu Gokapi<2.2.3

Event History

Mar 5, 2026
Advisory Published
via GitHub·08:43 PM
Data Sourced
via GitHub·08:43 PM
DescriptionSeverityWeaknessAffected Software
Mar 6, 2026
CVE Published
via MITRE·04:45 AM
Data Sourced
via MITRE·04:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Which versions of Gokapi are affected by CVE-2026-29084?

CVE-2026-29084 affects all versions of Gokapi prior to version 2.2.3.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203