Advisory

GHSA-hcff-qv74-7hr4

Also known as: CVE-2026-29084, GO-2026-4624

Summary

Gokapi has CSRF in Login Endpoint

Details

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](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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-05 20:43 UTC
Modified
2026-03-23 04:56 UTC

Affected packages and fixes

github.com/forceu/gokapi

Go · All systems

Affected

  • introduced 0, fixed 2.2.3 (semver)

Fixed versions

2.2.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences