FastapiAdmin through 3.0 contains a hard-coded JWT signing secret in backend/app/config/setting.py that allows low-privileged users to forge tokens impersonating the superuser. Attackers can register via the unauthenticated /api/v1/system/user/register endpoint, log in, and forge an HS256 token keeping their session_id but naming the superuser in user_name to gain superuser privileges.
References
Configurations
No configuration.
History
16 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret - |
16 Oct 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-16 18:17
Updated : 2026-10-16 20:17
NVD link : CVE-2026-111642
Mitre link : CVE-2026-111642
CVE.ORG link : CVE-2026-111642
JSON object : View
Products Affected
No product.
CWE
CWE-321
Use of Hard-coded Cryptographic Key
