Critical · 9.3 Critical vulnerabilities CVE-2026-120442
Hardcoded JWT Signing Key in ape-volo-admin Allows Full Admin Takeover (CVE-2026-120442)
ape-volo-admin before 3.6.1 ships with a hardcoded JWT signing key in its configuration file, letting unauthenticated attackers forge valid administrator tokens and gain full control over the application.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in ape-volo-admin, affecting versions before 3.6.1. The issue stems from a hardcoded JSON Web Token (JWT) signing key embedded in the application's configuration, which allows attackers to construct valid administrator authentication tokens without ever logging in. The vulnerability is tracked as CVE-2026-120442.
What happened
A vulnerability was disclosed affecting ape-volo-admin, an administrative application maintained by vendor xianhc. Versions before 3.6.1 contain a hardcoded JWT signing key stored in the appsettings.json configuration file. Because this key is static and shared across deployments, an attacker who obtains it can sign their own authentication tokens offline, without needing valid credentials or interacting with the live application's login process.
Technical cause
The root cause is the use of a fixed, hardcoded signing secret for JWTs (CWE-1394: Use of Default Cryptographic Key), rather than a secret generated uniquely per installation. Because the key is embedded in appsettings.json rather than kept secret and installation-specific, an attacker who knows or obtains this value can craft a token that the server will treat as legitimate. By setting the token's jti claim to the seeded administrator account identifier, an attacker can forge a token that the application accepts as belonging to the administrator, bypassing authentication entirely.
Why it matters
A forged administrator token grants full API control over the application, including management of users, roles, permissions, and underlying data. Because exploitation requires no authentication and no interaction from a victim, an attacker only needs network access to the application to escalate directly to administrator privileges.
Who is affected
Any deployment of ape-volo-admin running a version before 3.6.1 is potentially affected, since the hardcoded JWT signing key is embedded in the default configuration distributed with the application.
Affected versions
Versions of ape-volo-admin before 3.6.1 are affected by this vulnerability.
Fixes and mitigation
No fix is currently confirmed to be available for this vulnerability based on the information provided. Administrators should treat this as an unresolved issue and consider replacing the default JWT signing key in appsettings.json with a unique, randomly generated secret for their installation, and restrict network access to the application where possible until an official fix is confirmed.
Recommended action
Operators running ape-volo-admin before version 3.6.1 should immediately audit their appsettings.json configuration and rotate the JWT signing key to a unique, unpredictable value. Monitor for official guidance or an updated release from the vendor, and in the meantime limit exposure of the administrative interface to trusted networks.
PatchBriefing score
9.3 / 10 · Critical
Official CVSS: 9.3
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
EPSS 0.0321 (89 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
No fix is currently confirmed to be available for this vulnerability based on the information provided. Administrators should treat this as an unresolved issue and consider replacing the default JWT signing key in appsettings.json with a unique, randomly generated secret for their installation, and restrict network access to the application where possible until an official fix is confirmed.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated
- Published
- Generated