Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-76091 EUVD-2026-141493

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

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
dhax go-base < 2026-07-09 —

References