CVE-2026-111642
FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-321 |
| Vendor | fastapiadmin |
| Product | fastapiadmin |
| Published | Oct 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for fastapiadmin fastapiadmin
Be the first to know when new high vulnerabilities affecting fastapiadmin fastapiadmin are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
fastapiadmin / FastapiAdmin
0 โค 3.0
References
hackmd.io: https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret 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 vulncheck.com: https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation
Credits
hieuPenguinnn