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… (CVE-2026-111642)
Description
FastapiAdmin versions through 3.0 contain a hard-coded JWT signing secret in the backend/app/config/setting.py file. This vulnerability allows low-privileged users to forge JWT tokens to impersonate the superuser. Attackers can exploit this by registering via the unauthenticated /api/v1/system/user/register endpoint, logging in, and crafting a token that retains their session_id but sets the user_name to the superuser, thereby gaining elevated privileges.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FastapiAdmin up to version 3.0 has a hard-coded JWT signing secret embedded in backend/app/config/setting.py. This secret enables attackers with low privileges to forge HS256 JWT tokens. By registering through the unauthenticated user registration endpoint and logging in, an attacker can create a token that impersonates the superuser by modifying the user_name claim while keeping their session_id. This leads to unauthorized privilege escalation to superuser level.
Potential Impact
Successful exploitation allows an attacker with low privileges to escalate their privileges to superuser by forging JWT tokens. This results in full confidentiality, integrity, and availability impact on the affected system, as indicated by the CVSS score of 8.8 with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No patch or official fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the registration endpoint if possible and monitor for suspicious token usage. Avoid using hard-coded secrets and rotate JWT signing keys if feasible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p7cm-h8w6-p4cm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-111642"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ad2af052cdf04f656455caa
Added to database: 10/16/2026, 23:11:01 UTC
Last enriched: 10/16/2026, 23:18:10 UTC
Last updated: 10/16/2026, 23:48:20 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.