Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Critical · 9.8 Critical vulnerabilities CVE-2026-61737

Hardcoded JWT Secret in ng-antd-admin Allows Full Authentication Bypass (CVE-2026-61737)

A hardcoded default JWT secret in ng-antd-admin lets attackers forge authentication tokens and impersonate any user, including administrators, without credentials. No fix is currently available.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 1 source · updated 1 week ago
Sources · merged by AI 1 total

AI summary

A critical vulnerability has been disclosed in ng-antd-admin, an administration system template built on Angular and NestJS. The issue, tracked as CVE-2026-61737, stems from a hardcoded default JWT secret shipped with the software. If a deployment does not replace this default secret, an attacker can forge valid authentication tokens and bypass login entirely. This briefing explains what the vulnerability involves, who is affected, and what steps can currently be taken given that no official fix has been released.

What Happened

ng-antd-admin, an Angular and NestJS based administration system template, contains a hardcoded default JWT (JSON Web Token) secret. In deployments where this default secret has not been replaced, the application does not issue any startup warning about the insecure default. This allows an attacker to forge JWT tokens using the known default secret, effectively bypassing the authentication and authorization mechanisms of the application.

Technical Cause

The vulnerability is classified under CWE-321 (Use of Hard-coded Cryptographic Key). JWT tokens are signed using a secret key; if that secret is predictable or publicly known because it is hardcoded into the source code, anyone can generate valid, signed tokens without needing legitimate credentials. The affected versions of ng-antd-admin ship with such a default secret and do not warn operators when it remains unchanged in a deployment.

Why It Matters

Because JWT tokens are used to authenticate and authorize API requests, forging a token with the known default secret allows an attacker to impersonate any user of the system, including administrators. This can lead to full account takeover, unauthorized access to protected API endpoints, data leakage, and unauthorized operations within the application. The attack requires no user interaction and no prior authentication, making it exploitable remotely by anyone aware of the default secret.

Who Is Affected

Any deployment of ng-antd-admin prior to version 22.0 that has not replaced the default JWT secret is affected. According to the advisory, version 22.0 rejects the shipped default secret in production environments, and permits it only with a warning in non-production environments.

Fixes and Mitigation

The fact package indicates that version 22.0 of ng-antd-admin introduces behavioral changes: it rejects the shipped default secret in production and only allows it with a warning outside of production. However, the advisory data marks fix_available as false, so it is unclear from the available information whether this constitutes a complete, officially released fix for all deployments or only a partial mitigation. Readers should treat this as an open item and verify directly against the current state of the project before assuming the issue is fully resolved.

Recommended Action

Operators running ng-antd-admin should immediately verify whether the default JWT secret has been replaced with a unique, randomly generated secret in their deployment. Until a confirmed fix is applied, this is the primary mitigation available. Administrators should also review authentication logs for signs of unauthorized access and rotate any secrets or credentials that may have been exposed.

PatchBriefing score

9.8 / 10 · Critical

Official CVSS: 9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS 0.0080 (53 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

Reported fixes

The fact package indicates that version 22.0 of ng-antd-admin introduces behavioral changes: it rejects the shipped default secret in production and only allows it with a warning outside of production. However, the advisory data marks fix_available as false, so it is unclear from the available information whether this constitutes a complete, officially released fix for all deployments or only a partial mitigation. Readers should treat this as an open item and verify directly against the current state of the project before assuming the issue is fully resolved.

How this was built

1 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
Unified report
Hardcoded JWT Secret in ng-antd-admin Allows Full Authentication Bypass (CVE-2026-61737)
1 article · 1 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email