PatchSiren cyber security CVE debrief
CVE-2026-111642 fastapiadmin CVE debrief
CVE-2026-111642 debrief: FastapiAdmin through 3.0 contains a hard-coded JWT signing secret, allowing low-privileged users to forge tokens impersonating the superuser. This vulnerability enables attackers to register via the unauthenticated /api/v1/system/user/register endpoint, log in, and forge an HS256 token with their session_id but naming the superuser in user_name to gain superuser privileges. Defenders should assess exposure and prioritize remediation based on the potential for unauthorized access and privilege escalation.
- Vendor
- fastapiadmin
- Product
- Unknown
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-16
- Original CVE updated
- 2026-10-16
- Advisory published
- 2026-10-16
- Advisory updated
- 2026-10-16
Who should care
Defenders and administrators of FastapiAdmin instances should assess exposure and prioritize remediation due to the potential for unauthorized access and privilege escalation. Security teams and vulnerability management teams should review and update authentication and authorization configurations to prevent exploitation.
Why it matters
CVE-2026-111642 allows low-privileged users to forge tokens impersonating the superuser, potentially leading to unauthorized access and privilege escalation.
- Potential for unauthorized access to sensitive data
- Possible elevation of privileges for low-privileged users
- Need for review and update of authentication and authorization configurations
Technical summary
FastapiAdmin through 3.0 contains a hard-coded JWT signing secret in backend/app/config/setting.py, allowing low-privileged users to forge tokens impersonating the superuser. Attackers can exploit this by registering via the unauthenticated /api/v1/system/user/register endpoint, logging in, and forging an HS256 token with their session_id but naming the superuser in user_name to gain superuser privileges. This vulnerability requires review and update of authentication and authorization configurations to prevent potential unauthorized access and privilege escalation.
Defensive priority
High priority for authentication and authorization system review
Recommended defensive actions
- Review and update authentication and authorization configurations
- Implement additional logging and monitoring for suspicious activity
- Verify and update FastapiAdmin to the latest version
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
Official CVE Program record and NIST NVD detail page provide vulnerability metadata. Supplemental sources describe technical details and potential exploitation. The CVE record was published on 2026-10-16T17:39:12.365Z and has not been modified since then. Evidence is limited to public sources and may not reflect the full scope or technical details of the vulnerability.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-111642 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-111642
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-111642 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111642
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/111xxx/CVE-2026-111642.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret
Supplemental source - third-party-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.