Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim email address
-
DeliveryRequest many magic-link codes via spoofed X-Forwarded-For
-
ExploitBrute-force 6-digit code at verification callback
-
ExecutionMatch valid live code within 10-minute window
-
PersistObtain authenticated victim session
-
ImpactAccess bots, results, and integration credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | Exploitation requires that the self-hosted Typebot instance (<= 3.17.1) has the passwordless email magic-link provider enabled - this is the default but can be turned off. The attacker must know the exact email address of a target account, and the instance's verification callback must be reachable over the network. Limiting factors: success is probabilistic against a 900,000-value keyspace that must be matched within the 10-minute code lifetime, so exploitation is not instantaneous; instances configured for OAuth or SSO only, with no email provider, are entirely unaffected. No victim interaction and no authentication are required (PR:N/UI:N), and the sole rate limiter is bypassable because it trusts the client-supplied X-Forwarded-For header. |
| Impact | This is a genuinely high-priority issue for anyone running email/magic-link Typebot, not merely a high-CVSS paper risk. The supplied CVSS 4.0 base score of 9.1 reflects network vector, no privileges, and no user interaction (AV:N/PR:N/UI:N) with high confidentiality and integrity impact - an unauthenticated remote attacker gains a full authenticated session. The one mitigating signal is attack complexity: AC:H captures that success is probabilistic against a 900,000-value keyspace within a 10-minute window, but the missing rate limiting on the callback plus a code-sending limiter keyed only on the client-controlled X-Forwarded-File header (allowing many concurrent live codes per victim) sharply raise real-world success odds, undercutting the AC:H mitigation. There is no CISA KEV listing and no public POC referenced, so this is not confirmed exploited in the wild; however, the vulnerability class is well understood and the fix is public, so weaponization is plausible. Any operator of an internet-exposed self-hosted Typebot instance using the email provider should treat this as urgent and patch promptly, since a single known victim email is the only precondition. |
| Exploit ScenarioDerived | An attacker learns a target user's email address and repeatedly triggers magic-link code generation (spoofing X-Forwarded-For to bypass the sender rate limit) so several valid 6-digit codes are live at once. They then hammer the verification callback with sequential or random 6-digit guesses; because wrong guesses are neither counted nor invalidate the real code, a match within the 10-minute window yields an authenticated session and full access to the victim's bots, results, and stored integration credentials. No public exploit is identified at time of analysis, so an attacker would need to script this brute force themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Account takeover in self-hosted Typebot up to and including 3.17.1 lets an anonymous attacker who knows a victim's email hijack their session via brute force of the passwordless email magic-link login code. The email provider replaces NextAuth's secure token with a 6-digit Math.random() code (900,000-value keyspace, 10-minute validity) that is placed raw in the link, while the verification callback enforces no attempt cap, lockout, or CSRF protection and does not invalidate the real code on wrong guesses. No public exploit is identified at time of analysis and it is not listed in CISA KEV, but the flaw is fixed in 3.18.0.
RemediationAI
Vendor-released patch: 3.18.0 - upgrade self-hosted Typebot to version 3.18.0 or later, which adds a failed-attempt limit that retires outstanding email login tokens after repeated wrong guesses (fix commit https://github.com/baptisteArno/typebot.io/commit/03c8dd967f21e48e128340e369901d595d89bfd9). If you cannot upgrade immediately, the most effective compensating control is to switch authentication to OAuth or SSO and disable the email provider entirely, since those configurations are not vulnerable - the trade-off is that existing email-login users must be migrated to a federated identity. Where email login must remain, place the instance behind a trusted reverse proxy that strips or authoritatively sets X-Forwarded-For and enforce upstream rate limiting on both the code-sending and verification-callback endpoints per real client IP and per target email, accepting the trade-off of added proxy configuration and potential false-positive throttling. Refer to advisory GHSA-4g76-cwmg-gqgw for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Typebot is an open-source chatbot builder whose authentication layer is built on NextAuth with a Prisma verification-token adapter (packages/auth). The email 'magic link' provider overrides NextAuth's cryptographically secure token with a short numeric code produced by Math.random() - a non-cryptographic PRNG - and stores/transmits that raw value. This is a textbook CWE-307 (Improper Restriction of Excessive Authentication Attempts) failure compounded by weak token generation: the callback validates codes with no counter, no lockout, and no CSRF token, and because the Prisma adapter returns null (not an error) on a not-found token, an incorrect guess never consumes or invalidates the still-valid real code. The fix commit (03c8dd9) introduces recordFailedEmailSignInAttempt, which retires outstanding email login tokens after a small number of failed attempts, plus a marker value on the verification token, effectively adding the missing attempt limit.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Remote and unauthenticated (AV:N/PR:N/UI:N); AC:H because success is probabilistic within the code's 10-minute lifetime; full account takeover gives C:H/I:H, no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Typebot is an open-source chatbot builder. In self-hosted versions up to and including 3.17.1, the default passwordless email magic-link authentication is vulnerable to login-code brute forcing that leads to account takeover. The email provider overrides NextAuth's default cryptographically secure token with a 6-digit code generated using Math.random(), reducing the keyspace to 900,000 with a 10-minute expiry, and the code itself is the raw value placed in the magic link. The verification callback enforces no attempt limit, lockout, or CSRF protection, and an incorrect guess does not consume the real code because the adapter returns null on a not-found token, so a valid code survives unlimited guessing within its lifetime. The only rate limiter applies to the code-sending path and is keyed on the client-controlled X-Forwarded-For header, allowing an attacker to request many concurrent live codes for one victim and further raise the odds of a matching guess. As a result, an anonymous attacker who knows a victim's email address can brute-force the callback and obtain an authenticated session as that user with no victim interaction, gaining full access to the victim's bots, results, and connected integration credentials. Deployments configured for OAuth or SSO only, with no email provider, are not affected. This issue is fixed in version 3.18.0
Executive ViewAI
Typebot self-hosted instances running version 3.17.1 or earlier contain a critical account takeover vulnerability affecting all users, with no public exploit identified at time of analysis. Attackers need only knowledge of a user's email to hijack their account by brute-forcing a 6-digit verification code, bypassing password authentication entirely. The vulnerability remains unpatched, creating immediate risk to all user data and workflows.
No vendor-released patch identified at time of analysis. Implement immediate interim controls: enforce strict rate limiting (maximum 5 verification code submission attempts per email address per hour) with account lockout after failures, invalidate the magic-link code immediately upon any failed verification attempt, add CSRF token validation to the verification callback, apply IP-based access controls if the Typebot deployment serves a known user population, and consider temporarily disabling passwordless email login in favor of alternative authentication methods until upgrading to version 3.18.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-66123
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB