{"id":"CVE-2026-111642","revision":"cb9759a868bf41da83e933601f43ad11","records":[{"revision":"cb9759a868bf41da83e933601f43ad11","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111642","aliases":[],"title":"FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation","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.","state":0,"publishedAt":"2026-10-16T17:39:12.365+00:00","modifiedAt":"2026-10-16T19:21:12.72+00:00","affected":[{"ecosystem":"Vendor product","name":"FastapiAdmin","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"fastapiadmin\",\n                    \"product\": \"FastapiAdmin\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"3.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/fastapiadmin/FastapiAdmin\",\n                    \"repo\": \"https://github.com/fastapiadmin/FastapiAdmin\"\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"HIGH"}],"references":["https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret","https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py#L67","https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py#L72-L112","https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111642","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111642","identifiers":["CVE-2026-111642"]},"retained":false,"historicalAffected":[]}],"coverage":[]}