High severity · published Oct 16, 2026
CVE-2026-111642
FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation
8.8
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
FastapiAdmin · fastapiadmin
through 3.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-111642
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-111642
github.com
https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py#L67
github.com
https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py#L72-L112
hackmd.io
https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret
www.vulncheck.com
https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation
More from FastapiAdmin
9.8
CVE-2026-111641
FastapiAdmin through 3.0 Authentication Bypass via Auto-Login Endpoints
8.8
CVE-2026-2979
FastApiAdmin Scheduled Task API controller.py user_avatar_upload_controller unrestricted upload
8.8
CVE-2026-2978
FastApiAdmin Scheduled Task API controller.py upload_file_controller unrestricted upload
8.8
CVE-2026-2977
FastApiAdmin Scheduled Task API controller.py upload_controller unrestricted upload
6.5
CVE-2026-2976
FastApiAdmin Download Endpoint controller.py download_controller information disclosure
