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 package | Versions | Reported by |
|---|---|---|
| Eugeny tabby | < 1.0.235 | CVE List |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72903 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-72903 changed 2026-10-24 | Public domain |