Skip to content
Medium 6.5

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

CVE-2026-76091 First seen on SecPulse

Summary

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 logi...

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details