ng-antd-admin: Hardcoded JWT Secret allows Authentication Bypass in ng-antd-admin (huajian123 ng-antd-admin)

CVE-2026-61737
CRITICAL 9.8

At a glance

Source
NVD
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Deferred

Description

ng-antd-admin is an Angular and NestJS administration system template. Prior to 22.0, a hardcoded default `JWT` secret permits token forgery when a deployment has not replaced the default secret, without a startup warning. An attacker can bypass authentication and authorization, impersonate any user including administrators, and access protected API endpoints, leading to account takeover, data leakage and unauthorized operations. Version 22.0 rejects the shipped secret in production but permits it with a warning in non-production environments.

Weaknesses (CWE)

  • CWE-321 — Use of Hard-coded Cryptographic Key

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · security-advisories@github.com (Secondary)

European references

Affected products

ProductVersions
huajian123 · ng-antd-adminaffected < 22.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD