{"id":"CVE-2026-111642","aliases":["CVE-2026-111642"],"related":[],"kind":"vulnerability","state":"published","title":"FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-16T17:39:12.365Z","modified":"2026-10-16T20:17:21.400Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-321"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"3.0","status":"affected"}],"vendor":"fastapiadmin","product":"FastapiAdmin","repo":"https://github.com/fastapiadmin/FastapiAdmin","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py#L67","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py#L72-L112","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["hieuPenguinnn"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:20:27.537Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111642","url":"https://www.cve.org/CVERecord?id=CVE-2026-111642","licence":"CVE Terms of Use","modified":"2026-10-16T19:21:12.720Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111642","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111642","licence":"Public domain","modified":"2026-10-16T20:17:21.400Z"}],"updatedAt":"2026-11-25T22:59:45.085Z","epss":{"score":0.0036,"percentile":0.31784,"date":"2026-12-01T12:00:22.000Z"}}