CVE-2026-72903
JSON

8.1high

Tabby: Windows SFTP path traversal allows a malicious server to write files outside the selected download directory

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Tabby (formerly Terminus) is a highly configurable terminal emulator. Prior to 1.0.235, a malicious SFTP server can return a backslash traversal filename through entry.name. In tabby-ssh/src/session/sftp.ts, SFTPSession.readdir() and _makeFile() use POSIX path processing that preserves the backslashes as ordinary filename characters. In tabby-ssh/src/components/sftpPanel.component.ts, downloadFolderRecursive() propagates item.name into the local relative path. In tabby-electron/src/services/platform.service.ts, ElectronDirectoryDownload.createFile() passes that path to Windows-native path.join(), and in tabby-electron/src/sftpContextMenu.ts, EditSFTPContextMenu.edit() passes item.name to path.join() for the temporary edit path. Windows interprets the preserved backslashes and parent-directory components as traversal, allowing attacker-controlled content to be created or overwritten outside the selected download directory or temporary edit directory. This issue is fixed in version 1.0.235.

Affected

Product or packageVersionsReported by
Eugeny tabby< 1.0.235CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Tabby (formerly Terminus) is a highly configurable terminal emulator. Prior to 1.0.235, a malicious SFTP server can return a backslash traversal filename through entry.name. In tabby-ssh/src/session/sftp.ts, SFTPSession.readdir() and _makeFile() use POSIX path processing that preserves the backslashes as ordinary filename characters. In tabby-ssh/src/components/sftpPanel.component.ts, downloadFolderRecursive() propagates item.name into the local relative path. In tabby-electron/src/services/platform.service.ts, ElectronDirectoryDownload.createFile() passes that path to Windows-native path.join(), and in tabby-electron/src/sftpContextMenu.ts, EditSFTPContextMenu.edit() passes item.name to path.join() for the temporary edit path. Windows interprets the preserved backslashes and parent-directory components as traversal, allowing attacker-controlled content to be created or overwritten outside the selected download directory or temporary edit directory. This issue is fixed in version 1.0.235.

NVD (es)

Tabby (anteriormente Terminus) es un emulador de terminal altamente configurable. Antes de la versión 1.0.235, un servidor SFTP malicioso puede devolver un nombre de archivo de recorrido de barra invertida a través de entry.name. En tabby-ssh/src/session/sftp.ts, SFTPSession.readdir() y _makeFile() utilizan procesamiento de rutas POSIX que conserva las barras invertidas como caracteres de nombre de archivo ordinarios. En tabby-ssh/src/components/sftpPanel.component.ts, downloadFolderRecursive() propaga item.name en la ruta relativa local. En tabby-electron/src/services/platform.service.ts, ElectronDirectoryDownload.createFile() pasa esa ruta a path.join() nativo de Windows, y en tabby-electron/src/sftpContextMenu.ts, EditSFTPContextMenu.edit() pasa item.name a path.join() para la ruta de edición temporal. Windows interpreta las barras invertidas conservadas y los componentes de directorio padre como recorrido, permitiendo que contenido controlado por el atacante sea creado o sobrescrito fuera del directorio de descarga seleccionado o del directorio de edición temporal. Este problema está solucionado en la versión 1.0.235.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72903 changed 2026-08-11CVE Terms of Use
NVDCVE-2026-72903 changed 2026-10-24Public domain