Skip to content

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

HighCVSS 8.7 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
fastapiadmin/fastapiadmin <= 3.0 after 3.0 Fixed

Affected products

ProductAffected versionsFixed in
fastapiadmin/fastapiadmin <= 3.0 No fix listed

References