CVE-2026-62865 TypeBot: Arbitrary server file read via Send Email block attachment path

High 8.7 Published Updated

Attackers can read arbitrary server files, including secrets, by manipulating email attachment paths in Typebot's Send Email block.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-62865?

CVE-2026-62865 is a high-severity path traversal vulnerability in baptisteArno typebot.io, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Typebot is an open-source chatbot builder. In self-hosted versions prior to 3.18.0, the server-side Send Email integration block allows arbitrary reading of local files on the server. The block builds Nodemailer attachments from a typebot variable, and its parseAttachments helper returns the supplied value as a filesystem path whenever it does not start with the application's own base URL, instead of requiring an http or https URL. The Nodemailer transport is created without disableFileAccess or disableUrlAccess, both of which default to false, so an attachment specified as an absolute server path is read from the local filesystem and delivered. Because both the attachment value and the recipient list are attacker-controllable typebot variables, any registered user can publish a bot whose Send Email block attaches an absolute path such as /etc/passwd or /proc/self/environ and mails it to an address they control. This enables reading any file the server process can access, including process environment secrets such as the credential encryption key and database connection string, without administrative privileges or victim interaction. Open signup is enabled by default and the system SMTP credential is already configured, so no non-default configuration is required. This issue is fixed in version 3.18.0.

Weakness: CWE-73, CWE-200

Which versions are affected by CVE-2026-62865?

How do I fix CVE-2026-62865?

No fix has been published for CVE-2026-62865 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-62865 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62865 exists.

Sources

Also known as GHSA-j32h-2r6x-wmf3.

Is CVE-2026-62865 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free