Hardcoded JWT secret in ng-antd-admin allows authentication bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
The ng-antd-admin Angular and NestJS administration template by huajian123 is affected before 22.0. A hardcoded default JWT secret (CWE-321) lets deployments that keep it forge tokens without any startup warning. An unauthenticated remote attacker can impersonate any user, including administrators, and access protected API endpoints.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| huajian123 | ng-antd-admin | before 22.0 | 22.0 | Patch available | CNA |
- ng-antd-admin Vendorhuajian123 Affected before 22.0 Fixed in 22.0 Patch available CNA
Remediation
The sources list no fixed version for ng-antd-admin. Replace the default JWT secret in every deployment, since version 22.0 still permits the shipped secret with a warning in non-production environments.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA ng-antd-admin (huajian123) Fixed in 22.0
Timeline
- 2026-10-30 Threatist record created from CVE-2026-61737
- 2026-10-30 CISA SSVC decision points changed
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences