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

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-362
- **Published:** 2026-12-02T15:32:32.755Z
- **Modified:** 2026-12-02T19:18:07.653Z

## Who should check

- Anyone running dhax go-base \< 2026-07-09

## 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 and fixed versions

- dhax go-base: \< 2026-07-09 (cvelist)

## Mitigation

- Upgrade go-base to 2026-07-09 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-76091. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-76091.md
Affected: dhax go-base < 2026-07-09
Fixed in: dhax go-base 2026-07-09

Steps:
1. Search this machine and project for dhax go-base: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-76091 being exploited?

There is no confirmed exploitation: CVE-2026-76091 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-76091?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-76091?

dhax go-base \< 2026-07-09.

### Is there a fix for CVE-2026-76091?

Yes. Fixed in dhax go-base 2026-07-09. Upgrade go-base to 2026-07-09 or later.

### How do I check if I'm affected by CVE-2026-76091?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/dhax/go-base/security/advisories/GHSA-v4x7-wwmq-fxjg>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-76091>

HTML: <https://flawdb.com/CVE-2026-76091> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-76091>
