p PatchFirst

CVE-2026-111642

CVE-2026-111642 · FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.4%

Published
Updated

Affected products and versions

  • fastapiadmin

    Versions
    • ≥ 0, ≤ 3.0: Affected (custom)

    No fix published

Original sources

Check your server →