Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111641 Overview
CVE-2026-111641 is an authentication bypass vulnerability in FastapiAdmin through version 3.0. The flaw exposes auto-login endpoints without authentication, allowing remote attackers to enumerate users, mint auto-login tokens for any account including superusers, and exchange those tokens for valid JSON Web Token (JWT) sessions. Successful exploitation grants full administrative control of the application. The vulnerability maps to CWE-306: Missing Authentication for Critical Function and requires no privileges, user interaction, or specialized access.
Critical Impact
Unauthenticated attackers can obtain superuser JWT sessions and take over FastapiAdmin deployments with no credentials or user interaction.
Affected Products
- FastapiAdmin versions up to and including 3.0
- Backend authentication module at backend/app/api/v1/module_system/auth/controller.py
- Any application deploying FastapiAdmin v3.0 with default routing configuration
Discovery Timeline
- 2026-10-16 - CVE-2026-111641 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111641
Vulnerability Analysis
FastapiAdmin exposes an auto-login workflow intended for internal single sign-on (SSO) convenience, but the endpoints lack authentication guards. The route /api/v1/auth/auto-login/users returns a list of user accounts, including administrative identities, to any unauthenticated caller. A second endpoint allows a caller to mint an auto-login token for a selected user, and a third endpoint exchanges that token for a valid JWT session.
Because these endpoints are chained without any authorization check, the entire sequence of discovery, token minting, and session exchange can be executed by a remote attacker. The result is a full authentication bypass against the administrative interface. The affected handlers are implemented in controller.py lines 173-251, which define the auto-login routes without dependency-injected auth middleware.
Root Cause
The root cause is missing authentication on security-critical endpoints [CWE-306]. The auto-login controller does not require a valid session, API key, or signed request to list users or issue tokens. Associated reporting also notes a hardcoded JWT secret, which compounds the exposure by letting attackers forge or validate tokens independent of server-issued state.
Attack Vector
The attack is purely network-based against the FastapiAdmin HTTP API. An attacker issues a GET request to /api/v1/auth/auto-login/users to enumerate accounts, selects a superuser identifier, requests an auto-login token for that user, and exchanges the token at the JWT issuance endpoint. The returned bearer token authorizes all administrative operations exposed by the application. Refer to the HackMD exploit analysis and the VulnCheck advisory for the full request sequence.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111641
Indicators of Compromise
- Unauthenticated HTTP requests to /api/v1/auth/auto-login/users from untrusted source addresses.
- Sequential requests to auto-login token issuance and JWT exchange endpoints originating from a single client within seconds.
- JWT sessions issued for superuser accounts without a preceding password-based login event in application logs.
- New or modified administrative objects created shortly after unexplained JWT issuance.
Detection Strategies
- Alert on any HTTP 200 response to /api/v1/auth/auto-login/* paths that lacks a prior authenticated session cookie or bearer token.
- Correlate web access logs with application audit logs to flag JWT issuance that is not tied to an interactive login flow.
- Hunt for user enumeration patterns where the users endpoint is queried before token endpoints by the same source IP.
Monitoring Recommendations
- Forward FastapiAdmin reverse-proxy and application logs to a centralized SIEM for retention and correlation.
- Monitor for anomalous administrator logins outside expected business hours or from unexpected geolocations.
- Track creation of new superuser accounts, API tokens, and permission changes as high-severity events.
How to Mitigate CVE-2026-111641
Immediate Actions Required
- Block external access to /api/v1/auth/auto-login/* routes at the reverse proxy or web application firewall (WAF) until a patched build is deployed.
- Rotate the JWT signing secret and invalidate all active sessions to revoke any tokens an attacker may already hold.
- Audit administrative accounts, recent logins, and configuration changes for signs of unauthorized access.
- Restrict network exposure of the FastapiAdmin interface to trusted management networks or a VPN.
Patch Information
No vendor-supplied patch URL is listed in the NVD entry at publication. Review the upstream project at FastapiAdmin controller source for fix commits beyond v3.0, and track the VulnCheck advisory for updated remediation guidance.
Workarounds
- Deploy a reverse-proxy rule that returns HTTP 403 for all requests matching the /api/v1/auth/auto-login/ path prefix.
- Rebuild the application with the auto-login router disabled or protected by an authentication dependency.
- Replace the hardcoded JWT secret with a cryptographically random value sourced from an environment variable or secrets manager.
- Enforce network-level access controls so the admin API is unreachable from the public internet.
# Nginx workaround to block unauthenticated auto-login endpoints
location ~ ^/api/v1/auth/auto-login/ {
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

