CVE-2026-117564
published critical CVSS 4.0 · 9.3nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| buqiyuan | — | nest-admin0 to < 1.0.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
nest-admin before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens by using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret that JwtStrategy and RbacGuard trust, impersonating any user ID or claiming the admin role for full administrative access.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| buqiyuan | nest-admin | 0 to < 1.0.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-321 Use of Hard-coded Cryptographic Key
References
6- https://github.com/buqiyuan/nest-admin
- https://github.com/buqiyuan/nest-admin/blob/2eeccc4cb699d1aedbe04b4437a9d095cde02c74/.env.production#L5
- https://github.com/buqiyuan/nest-admin/commit/f2cec8cb776cbf113115b33164dac69a46d24097
- GitHub Issue #92 https://github.com/buqiyuan/nest-admin/issues/92
- GitHub Issue #93 https://github.com/buqiyuan/nest-admin/issues/93
- VulnCheck Advisory: nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret https://www.vulncheck.com/advisories/nest-admin-before-1.0.1-authentication-bypass-via-hardcoded-jwt-secret
Provider assertions
2VulnCheck · cna
nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 975185561fe3f250c098fcdd5658e1535ae0433a0c62b4923094c854fe0d4055
- Ingested
- 28 Oct 2026, 16:27:12 UTC
- Source record
- Official CVE record