Use of Hard-coded Credentials Affecting github.com/dhax/go-base/auth/jwt package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.63% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Hard-coded Credentials vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDHAXGOBASEAUTHJWT-17717768
  • published30 Jun 2026
  • disclosed10 Jun 2026
  • creditUnknown

Introduced: 10 Jun 2026

CVE-2026-48031  (opens in a new tab)
CWE-798  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use of Hard-coded Credentials in the authentication process. An attacker can gain unauthorized access to protected API endpoints, including those with administrative privileges, by forging valid JWT tokens using a publicly known secret.

CVSS Base Scores

version 4.0
version 3.1