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

Published Dec 2, 2026
·
Updated

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 Software

1 affected component
go-base<2026-07-09

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2026-07-09

Event History

Dec 2, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Deployments of go-base prior to version 2026-07-09 that use its passwordless magic-link login flow are affected. The issue concerns the handling of login tokens when the same token is submitted concurrently.

2

What does an attacker need to exploit this issue?

An attacker needs a valid magic-link login token and must submit concurrent redemption requests using that same token before it is removed. No authentication or user interaction is required by the vulnerability vector.

3

What is the impact of successful exploitation?

A single token that should produce one authenticated session can instead create multiple valid authenticated sessions. The reported impact is low confidentiality and low integrity impact, with no availability impact.

4

How can this be remediated?

Upgrade go-base to version 2026-07-09 or later, which contains the patch. The fix needs to ensure token validation and invalidation cannot be raced by concurrent requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203