Summary
CVE-2026-90562 is an authentication bypass vulnerability in LangBot, an open-source LLM-powered chatbot platform, caused by insufficient entropy in its password recovery mechanism (CWE-331). Versions before 4.10.11 generate password reset keys with only 24 bits of entropy and enforce no effective rate limiting on the unauthenticated reset-password endpoint, allowing a remote attacker who knows an administrator’s email address to brute-force the recovery key and take over the admin account. The issue carries a CVSS v4.0 base score of 9.2 (Critical).
Technical details
- Root cause: The recovery secret is generated with
secrets.token_hex(3), producing only 24 bits of entropy — a keyspace of 16,777,216 possible values — for a credential that grants full administrative access. - Missing anti-automation controls: The unauthenticated
POST /api/v1/user/reset-passwordendpoint’s only protective measure is a 3-secondasyncio.sleep()delay in the request handler, which suspends only the current coroutine and does not serialize or block concurrent requests. - Trigger conditions: An attacker needs only the target administrator’s email address; no prior authentication, session, or user interaction is required.
- Attack vector: Network-based. By issuing large numbers of concurrent requests to the reset-password endpoint, an attacker can exhaust the entire 24-bit keyspace in a matter of hours (estimated ~333 guesses/second with 1,000 concurrent requests, exhausting the keyspace in roughly 7 hours on average) since there is no per-IP or per-account rate limiting, lockout, or exponential backoff.
- Impact: Successful exploitation resets the administrator’s password, granting the attacker full administrative control over the LangBot instance and its connected integrations/data.
Affected software
- LangBot versions 4.0.8.1 through 4.10.10 (inclusive)
- Fixed in version 4.10.11
Severity
- CVSS v4.0: 9.2 (Critical) —
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 8.1 (High) —
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade LangBot to version 4.10.11 or later, which increases recovery key entropy and adds rate limiting to the reset-password flow.
- If immediate patching is not possible:
- Restrict network exposure of the LangBot admin panel and API to trusted networks or a VPN.
- Front the reset-password endpoint with an external WAF or reverse-proxy rule that enforces strict per-IP and per-account rate limiting.
- Monitor for abnormal volumes of requests to the reset-password endpoint and alert on spikes.
- Rotate administrator credentials and review admin account activity for signs of unauthorized password resets.

