SecurityContext

CVE-2026-111642: FastapiAdmin - Authentication Bypass

  • Cve: CVE-2026-111642
  • Name: FastapiAdmin - Authentication Bypass
  • 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.
  • Impact: Attackers can impersonate the superuser, gaining full administrative privileges and control over the system.
  • Remediation: Update to the latest version that removes hard-coded JWT secrets or apply a patch to secure JWT signing.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to register and log in via the unauthenticated endpoint
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0036
  • Epss percentile: 0.30126
  • Assignee: [email protected]
  • Published at: 2026-10-16T18:17:44Z
  • Age in days: 39
  • Modified at: 2026-10-16T20:17:21Z
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-111642
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-321Use of Hard-coded Cryptographic Key

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret
https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation

Products

ProductAffectedPlatform boundSourcesUrl
fastapiadmin:fastapiadmin<= 3.0nocna/v1/products/fastapiadmin/fastapiadmin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts