CVE-2026-48031: Vulnerability in github.com/dhax/go-base
Critical. go-base is a Go RESTful API Boilerplate template with JWT Authentication, backed by PostgreSQL. In versions prior to 2026-05-18, the JWT signing secret is hardcoded to the known string "random", letting any attacker who reads the public repository forge tokens for arbitrary users, including admin roles, and completely bypass authentication on all protected endpoints. This value is set in two places: the dev.env...
Go, CWE-798
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-mqq6-462x-jxmm
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-798
- Published
- 10 Jun 2026
- Last change
- 23 Oct 2026
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- github.com/dhax/go-base Go, Affected before 0.0.0-20260517152733-cc82b9740fa6. Fixed in 0.0.0-20260517152733-cc82b9740fa6
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes