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
Affects fastapiadminSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 3.1.0 soon.
Data as of 29 Nov 2026, 18:36 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade fastapiadmin to 3.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| fastapiadmin | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, restrict access to the registration endpoint if possible and monitor for suspicious token usage. Avoid using hard-coded secrets and rotate JWT signing keys if feasible.
Description
FastapiAdmin versions through 3.0 contain a hard-coded JWT signing secret in the backend/app/config/setting.py file. This vulnerability allows low-privileged users to forge JWT tokens to impersonate the superuser. Attackers can exploit this by registering via the unauthenticated /api/v1/system/user/register endpoint, logging in, and crafting a token that retains their session_id but sets the user_name to the superuser, thereby gaining elevated privileges.
References
- nvd.nist.gov/vuln/detail/CVE-2026-111642 (opens in a new tab)
- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py (opens in a new tab)
- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py (opens in a new tab)
- hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret (opens in a new tab)
- vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation (opens in a new tab)