CVE Catalog

CVE-2026-111642

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

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/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.

Risk Assessment

A low-privileged user can gain full superuser privileges, leading to complete takeover of the application and access to all data.

Recommendation

Upgrade FastapiAdmin beyond 3.0 and replace the hard-coded JWT secret with a unique, random key stored securely, and secure the registration endpoint.

Other vulnerabilities in FastapiAdmin

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS