freenode

← CVE tracker

CVE-2026-76091

go-base: Race condition allows reuse of passwordless login tokens

Severity
medium CVSS 6.5 (v3.1)
Affects
go-base · dhax
Weakness
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
Published
2 December 2026 by GitHub_M
go-base is a Go RESTful API Boilerplate template with JWT Authentication, backed by PostgreSQL. Prior to version 2026-07-09, the passwordless login flow allows a single login token to be redeemed more than once when concurrent requests submit the same token at nearly the same time. A magic-link login token is expected to be single-use. However, the application checks the token and deletes it in separate lock operations. This creates a race condition where multiple requests can validate the same token before it is removed. As a result, one magic-link login token can create multiple valid authenticated sessions. This issue has been patched in version 2026-07-09.

Our coverage

We have not written about this one. Know why it matters? Send a tip.