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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fastapiadmin/fastapiadmin | <= 3.0 | after 3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fastapiadmin/fastapiadmin | <= 3.0 | No fix listed |
References
- hackmd.io exploit third-party-advisory
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation third-party-advisory
- ENISA EUVD EUVD-2026-103064 third-party-advisory