Huajian123 ng-antd-admin
ng-antd-admin: Hardcoded JWT Secret allows Authentication Bypass in ng-antd-admin
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 22.0
Fixed in 22.0
Mitigation
Upgrade ng-antd-admin to 22.0 or later.
References
- Vendor advisory github.com/huajian123/ng-antd-admin/security/a…
- Patch github.com/huajian123/ng-antd-admin/commit/23e…
- Release notes github.com/huajian123/ng-antd-admin/releases/t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.