Skip to main content

Typebot CVE-2026-62862

| EUVDEUVD-2026-66123 CRITICAL
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-08-25 security-advisories@github.com
9.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain victim email address
  2. Delivery
    Request many magic-link codes via spoofed X-Forwarded-For
  3. Exploit
    Brute-force 6-digit code at verification callback
  4. Execution
    Match valid live code within 10-minute window
  5. Persist
    Obtain authenticated victim session
  6. Impact
    Access 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

typebot.io < 3.18.0

Affected Packages

euvd typebot_io fix: 3.18.0

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

Vendor (github) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 23:19 EUVD
CVE Published
Aug 25, 2026 - 22:17 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche self-hosted open-source chatbot builder, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy