Katalog CVE

CVE-2026-62865

WysokieCVSS 8.7
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.31%

Percentyl 23 - wyżej niż 23% wszystkich znanych CVE

Streszczenie

Typebot w wersjach self-hosted przed 3.18.0 zawiera podatność w bloku integracji Send Email, która pozwala na dowolny odczyt lokalnych plików na serwerze. Blok buduje załączniki Nodemailer ze zmiennych typebot, a funkcja parseAttachments traktuje wartość jako ścieżkę systemową, jeśli nie zaczyna się od bazowego URL aplikacji. Ponieważ transport Nodemailer nie ma wyłączonego dostępu do plików, załącznik wskazujący absolutną ścieżkę serwera jest odczytywany i wysyłany.

Ocena ryzyka

Zarejestrowany użytkownik może opublikować bota, który wyśle pliki takie jak /etc/passwd lub /proc/self/environ na adres kontrolowany przez atakującego, co umożliwia kradzież sekretów środowiskowych, w tym klucza szyfrującego i danych logowania do bazy.

Rekomendacja

Zaktualizuj Typebot do wersji 3.18.0 lub nowszej, która zawiera poprawkę uniemożliwiającą odczyt plików lokalnych.

Inne podatności w Typebot

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS