cvelo
P3 · MediumCVSS 6.5EPSS 0.3%

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

  • CVE-2026-76091
  • EUVD-2026-141493

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • dhax go-base

    Affected versionsFixed in
    < 2026-07-09none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.