High severity8.8NVD Advisory· Published Oct 16, 2026· Updated Oct 16, 2026
CVE-2026-111642
CVE-2026-111642
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.
Affected products
1- Range: <=3.0
Patches
Vulnerability mechanics
References
4- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.pynvd
- github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.pynvd
- hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secretnvd
- www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalationnvd
News mentions
0No linked articles in our index yet.