FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation
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.
CVE-2026-111642
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-111642
FastapiAdmin
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/fastapiadmin/FastapiAdmin",
"vendor": "fastapiadmin",
"product": "FastapiAdmin",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "3.0"
}
],
"packageURL": "pkg:github/fastapiadmin/FastapiAdmin",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-111642
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #34301 · Revision 1
- Added to Heist Feed
- Publisher date