Vulnerability in Fastapiadmin
CVE-2026-111642
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-j… (third-party-advisory)
- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py (technical-description)
- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py (technical-description)
- www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-pri… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-111642?
- CVE-2026-111642 is a high-severity vulnerability in Fastapiadmin, classified under Use of Hard-coded Cryptographic Key. CVSS score: 8.8/10. Published 2026-10-16.
- How severe is CVE-2026-111642?
- High severity. CVSS v3 base score is 8.8 out of 10.