Skip to main content

gpmall EUVDEUVD-2026-137627

| CVE-2026-138083 MEDIUM
Use of Hard-coded Cryptographic Key (CWE-321)
2026-11-28 VulDB GHSA-grwq-7w3v-xv5r
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Read hard-coded key from public repo
  2. Exploit
    Forge JWT signed with known secret
  3. Execution
    Submit crafted token to user-service
  4. Impact
    Impersonate target user remotely

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
Exploitation Conditions

The prerequisite is concrete: the signing secret used by creatJwtToken/freeJwt in user-service/user-provider/.../JwtTokenUtils.java is hard-coded in source, so any attacker with access to the public gpmall GitHub repository already possesses the key needed to mint valid tokens against a deployed instance. No authentication, user interaction, or non-default configuration is required (PR:N/UI:N), and the attack is remote (AV:N). What LIMITS real-world exploitation is deployment scope rather than technical difficulty: gpmall must actually be running and network-reachable, and because it is an open-source demo/learning project its exposed production instances are few; impact is also bounded by whatever authorization the forged JWT grants within the user-service.

Impact

The signals here are modest and internally consistent, pointing to a real but non-urgent issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a flaw reachable remotely over the network with low complexity and no privileges or user interaction, which fits a hard-coded JWT signing key (CWE-321) that any attacker can read from the public source repository and reuse to forge tokens. However, the vendor-assigned impact is deliberately conservative - VC:L/VI:L/VA:L and an overall 6.9 (Medium) - so this is not scored as a full authentication-bypass/account-takeover despite the mechanism plausibly enabling one; I weight this as a disagreement between mechanism and assigned impact worth verifying. There is no CISA KEV listing and no EPSS value supplied, so there is no evidence of active or widespread exploitation. The only exploit signal is a GitHub issue reference (a public PoC reference, not verified as working exploit code), and the vuln.today Decision label is 'this_month' rather than act_now/emergency. Net: a legitimate code-level defect that should be remediated on a normal cadence, not a widespread-exploitation emergency, with the key caveat that the affected product (gpmall) is a small open-source demo/learning project rather than enterprise-deployed software, limiting real-world blast radius.

Exploit ScenarioDerived

Because the JWT signing key in JwtTokenUtils.java is hard-coded in the public gpmall repository, an attacker who reads the source learns the secret and can craft a validly-signed JWT remotely, impersonating a chosen user to the user-service without any credentials. A public PoC reference exists (GitHub issue #226) but it is not verified as working exploit code. The attack needs only network access to a running gpmall instance and no user interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 28, 2026

Because the JWT signing key in gpmall's user-service (JwtTokenUtils.java, creatJwtToken/freeJwt) is hard-coded in the public source tree, unauthenticated remote attackers can read the secret from the GitHub repository and mint tokens that a deployed instance will accept. No authentication, user interaction or special configuration is required (PR:N/UI:N); the practical limit is that gpmall must be running and network-reachable, and since it is an open-source learning/demo project such exposed deployments are few, with impact bounded by whatever authority a forged token grants inside user-service. The project's rolling-release model means no affected or fixed version numbers can be pinned; a public PoC reference exists (the upstream issue report) but it is not verified as working exploit code, there is no CISA KEV confirmation, and priority is assessed as moderate (this_month).

RemediationAI

No vendor-released patch was identified at time of analysis: the project was notified through issue 226 (https://github.com/2227324689/gpmall/issues/226) and had not responded, and the rolling-release model means no fixed version can be cited, so operators must remediate locally. Replace the hard-coded signing secret in JwtTokenUtils.java with a per-deployment value supplied from an environment variable or secret manager, and rotate it - noting that because the key lives in source this requires rebuilding and redeploying the user-service, and rotation immediately invalidates all JWTs already issued to legitimate users, forcing re-authentication. Until a rebuild is possible, reduce exposure by placing gpmall's user-service behind authenticated network controls or restricting it to trusted networks, accepting that this limits the demo's usability rather than fixing the flaw. Add server-side token validation that rejects tokens signed with the known public key or shortens token lifetime, with the trade-off of increased re-login friction for users. Monitoring for anomalous token issuance from unexpected source addresses can provide early warning, but it is detection, not prevention; consult the VulDB entries linked above for any later vendor update.

Affected VersionsENISA

gpmall c5dd5bacb052e2d4afda5ed1f7f07c17428192d5

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code is a Java JWT utility class, user-service/user-provider/src/main/java/com/gpmall/user/utils/JwtTokenUtils.java, in a Spring Cloud based microservice mall demo. The creatJwtToken and freeJwt functions rely on a cryptographic signing key embedded directly in source, which is CWE-321 (use of a hard-coded cryptographic key): the secret is not derived per-deployment and is not injected from configuration, so its disclosure is automatic for anyone who can read the repository, and every deployment built from this code shares the same signing material. Token integrity and authenticity therefore rest on a publicly known value, and token validation on the server side cannot distinguish attacker-forged tokens from legitimately issued ones. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, low confidentiality/integrity/availability impact, no subsequent-system impact) and the independently assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) both describe a remotely reachable, unauthenticated flaw with limited effect; the trigger requires no race, memory grooming or unusual configuration, and no further exploitation mechanics are described in the available sources. The vulnerability is in the JWT issuance/verification path of the user microservice, so the blast radius is the authorization surface that user-service consumes tokens for.

Know when Gpmall gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.5 MEDIUM

Hard-coded key is readable from the public repo and tokens are forged remotely with no auth (AV:N/AC:L/PR:N/UI:N); impact kept to C:L/I:L and A:N, consistent with the vendor's limited rating.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 28, 2026 - 21:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 28, 2026 - 20:30 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was found in 2227324689 gpmall up to c5dd5bacb052e2d4afda5ed1f7f07c17428192d5. This issue affects the function creatJwtToken/freeJwt of the file user-service/user-provider/src/main/java/com/gpmall/user/utils/JwtTokenUtils.java. Performing a manipulation results in use of hard-coded cryptographic key . The attack is possible to be carried out remotely. The exploit has been made public and could be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 78% exploitable
Prevalence
Rare
open-source microservice demo/learning mall project, negligible production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy