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

High 8.7 Published Updated

Hard-coded JWT secret allows attackers to forge superuser tokens and escalate privileges in FastapiAdmin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-111642?

CVE-2026-111642 is a high-severity vulnerability in FastapiAdmin, published on 16 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-321

Which versions are affected by CVE-2026-111642?

How do I fix CVE-2026-111642?

No fix has been published for CVE-2026-111642 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-111642 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111642 exists.

Sources

Also known as GHSA-p7cm-h8w6-p4cm.

Is CVE-2026-111642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free