{"id":"CVE-2026-111642","title":"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","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/syste…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-321"],"vendor":"fastapiadmin","product":"FastapiAdmin","affected":["FastapiAdmin <= 3.0"],"published":"2026-10-16","updated":"2026-10-16","sourceUpdated":"2026-10-16T20:17:21.400","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-111642","references":[{"url":"https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py#L67","label":"disclosure@vulncheck.com"},{"url":"https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py#L72-L112","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"epss":0.0036,"epssPercentile":0.29574,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T19:20:27.537959Z"},"ingestedAt":"2026-10-16T18:43:08.681Z","slug":"CVE-2026-111642","body":"## Overview\n\nFastapiAdmin 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":60,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":223342,"id":"CVE-2026-111642","ts":1792180101030,"field":"exploit_available","old":"false","new":"true"}]}