Summary
CVE-2026-120442 is a critical authentication bypass vulnerability in ape-volo-admin (xianhc). Versions before 3.6.1 ship a hardcoded JWT signing key, which lets unauthenticated remote attackers forge administrator tokens. The CNA (VulnCheck) rated it CVSS v4.0 9.3 (Critical).
Technical details
- Root cause: a hardcoded JWT signing key in
appsettings.json(CWE-1394, Use of Default Cryptographic Key). - Trigger conditions: the deployment runs a version before 3.6.1 and still uses the shipped signing key. No authentication or user interaction is required.
- Attack vector: network. An attacker can craft administrator tokens offline using the known key and present them to the API.
- Impact: full administrative control of the API, including users, roles, permissions and data.
Affected software
- ape-volo-admin (xianhc): all versions before 3.6.1
Severity
- CVSS v4.0: 9.3 (Critical),
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 - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade ape-volo-admin to version 3.6.1 or later.
- Because the shipped key is publicly known, replace any JWT signing key left at its default so that previously forged or issued tokens stop validating. Review administrative activity for signs of misuse.
- If you cannot patch immediately, restrict network access to the application’s API to trusted sources.

