Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/settin
- https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependen
- https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hard
- https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-sec
- https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hard
FAQ
What is CVE-2026-111642?
CVE-2026-111642 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2026-111642?
CVE-2026-111642 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-111642?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.