CVE-2026-111642
CVE-2026-111642 · FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.7 · Élevée · EPSS 0,4%
- Publication
- Mise à jour
Produits et versions concernés
fastapiadmin
- Versions du logiciel
- ≥ 0, ≤ 3.0: Concernée (custom)
Aucun correctif publié
Sources originales
- https://hackmd.io/@hieuPenguinnn/fastapiadmin-unauthenticated-autologin-and-hardcoded-jwt-secret
- https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/config/setting.py#L67
- https://github.com/fastapiadmin/FastapiAdmin/blob/v3.0/backend/app/core/dependencies.py#L72-L112
- https://www.vulncheck.com/advisories/fastapiadmin-through-3.0-hard-coded-jwt-secret-privilege-escalation
- https://nvd.nist.gov/vuln/detail/CVE-2026-111642