CVE-2026-138074
Deferred Deferred - Pending Action

Hard-Coded Cryptographic Key in go-dev-frame sponge

Vulnerability report for CVE-2026-138074, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-28

Last updated on: 2026-11-28

Assigner: VulDB

Description

A vulnerability was found in go-dev-frame sponge up to 1.16.1. The affected element is an unknown function of the file pkg/jwt/option.go of the component JWT. The manipulation results in use of hard-coded cryptographic key . The attack may be performed from remote. The exploit has been made public and could be used. The project maintainer announces, that a separate auth certification center will be used to replace this old JWT package.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-28
Last Modified
2026-11-28
Generated
2026-11-29
AI Q&A
2026-11-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
go-dev-frame sponge 1.16.0
go-dev-frame sponge 1.16.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-320 Key Management Errors
CWE-321 The product uses a hard-coded, unchangeable cryptographic key.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138074 is a vulnerability in the go-dev-frame/sponge project up to version 1.16.1. It involves a hard-coded cryptographic key used for JWT (JSON Web Token) signing in the file pkg/jwt/option.go. This hard-coded key is publicly accessible in the source code and is used by default if no custom JWT Secret is configured. Attackers can exploit this to forge arbitrary JWT tokens with any user identity and permissions, bypassing authentication and authorization mechanisms.

Detection Guidance

Check for the presence of the hardcoded JWT secret in sponge/pkg/jwt/option.go at line 21. Search for default JWT secret usage in configuration files or environment variables. Inspect network traffic for unauthorized JWT tokens with arbitrary UIDs or permissions.

Impact Analysis

This vulnerability allows attackers to bypass authentication and authorization, potentially gaining unauthorized access to protected interfaces. They could escalate privileges, access sensitive data, or perform actions as any user. The impact includes data breaches, unauthorized system access, and compromise of both HTTP and gRPC authentication flows. The exploit is public, increasing the risk of real-world attacks.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection and access control under standards like GDPR and HIPAA. It enables unauthorized access to sensitive data, which could lead to data breaches and non-compliance with regulations mandating strict access controls and data protection measures. Organizations using this framework may face legal and regulatory penalties.

Mitigation Strategies

Replace the hardcoded JWT secret with a strong, randomly generated key stored in environment variables. Disable default startup values that use hardcoded keys. Implement additional security measures like session state checks or token blacklists. Consider migrating to a dedicated authentication center as recommended by maintainers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138074. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...