Hard-coded JWT secret in FastapiAdmin allows privilege escalation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
FastapiAdmin through 3.0 contains a hard-coded JWT signing secret, which is a case of use of a hard-coded cryptographic key (CWE-321). An unauthenticated attacker can register an account, then forge tokens that impersonate the superuser and gain superuser privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fastapiadmin | FastapiAdmin | up to 3.0 | — | No fix listed | CNA |
- FastapiAdmin Vendorfastapiadmin Affected up to 3.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for FastapiAdmin.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-16 Threatist record created from CVE-2026-111642
- 2026-10-16 Alias added: GHSA-p7cm-h8w6-p4cm
- 2026-10-18 CISA SSVC decision points changed
- 2026-10-18 Priority changed: MEDIUM → HIGH
References
More fastapiadmin vulnerabilities
- TI-2026-02567 FastApiAdmin Custom Documentation Endpoint init_app.py reset_api_docs information disclosure CVSS 4.0MEDIUM 6.9
- TI-2026-02571 FastApiAdmin Scheduled Task API controller.py user_avatar_upload_controller unrestricted upload CVSS 4.0MEDIUM 5.3
- TI-2026-02570 FastApiAdmin Scheduled Task API controller.py upload_file_controller unrestricted upload CVSS 4.0MEDIUM 5.3
- TI-2026-02569 FastApiAdmin Scheduled Task API controller.py upload_controller unrestricted upload CVSS 4.0MEDIUM 5.3
- TI-2026-02568 FastApiAdmin Download Endpoint controller.py download_controller information disclosure CVSS 4.0MEDIUM 5.3
- TI-2026-75427 Authentication bypass in FastapiAdmin via auto-login endpoints CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-111642 · CVE Program
- CVE-2026-111642 · NVD
- FIRST EPSS
- GHSA-p7cm-h8w6-p4cm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences