CVE-2026-111642

8.8High

Published Oct 16, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash

8.8CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-321

What an attacker gets

Low-privileged attackers can forge JWTs to gain full superuser privileges across the application. Any network user can trigger this by self-registering via the unauthenticated /api/v1/system/user/register endpoint.

Root cause

The application relies on a hardcoded JWT signing secret in backend/app/config/setting.py.

Affected versions

FastapiAdmin through 3.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

No patched release is listed; immediately replace the hardcoded JWT secret in backend/app/config/setting.py with a strong, randomly generated value loaded from the environment, and restart the service.

remediation — bash
$ sed -i 's/SECRET_KEY = .*/SECRET_KEY = "'$(openssl rand -hex 32)'"/' backend/app/config/setting.py

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-111642

More fully triaged vulnerabilities you may want to check next.