5.3medium
SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x8qh-7475-c5mpGO-2026-4699
Description
SFTPGo is an open source, event-driven file transfer solution. In SFTPGo versions prior to 2.7.1, a path normalization discrepancy between the protocol handlers and the internal Virtual Filesystem routing can lead to an authorization bypass. An authenticated attacker can craft specific file paths to bypass folder-level permissions or escape the boundaries of a configured Virtual Folder. This vulnerability is fixed in 2.7.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| drakkan sftpgo | < 2.7.1 | CVE List |
| github.com/drakkan/sftpgo/v2 (Go) | before 2.7.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/drakkan/sftpgo (Go) | up to 1.2.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
| sftpgo_project sftpgo | before 2.7.1 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
SFTPGo is an open source, event-driven file transfer solution. In SFTPGo versions prior to 2.7.1, a path normalization discrepancy between the protocol handlers and the internal Virtual Filesystem routing can lead to an authorization bypass. An authenticated attacker can craft specific file paths to bypass folder-level permissions or escape the boundaries of a configured Virtual Folder. This vulnerability is fixed in 2.7.1.
GitHub Advisory Database
Impact
In SFTPGo versions prior to 2.7.1, a path normalization discrepancy between the protocol handlers and the internal Virtual Filesystem routing can lead to an authorization bypass. An authenticated attacker can craft specific file paths to bypass folder-level permissions or escape the boundaries of a configured Virtual Folder.
Patches
This issue has been addressed in SFTPGo version 2.7.1. The fix introduces strict edge-level path normalization, ensuring that all protocol inputs are fully sanitized and resolved to canonical POSIX paths before any routing or permission evaluations occur.
Go Vulnerability Database
SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy in github.com/drakkan/sftpgo
NVD (es)
SFTPGo es una solución de transferencia de archivos de código abierto y basada en eventos. En versiones de SFTPGo anteriores a la 2.7.1, una discrepancia en la normalización de rutas entre los manejadores de protocolo y el enrutamiento interno del sistema de archivos virtual puede conducir a una omisión de autorización. Un atacante autenticado puede crear rutas de archivo específicas para omitir permisos a nivel de carpeta o escapar de los límites de una Carpeta Virtual configurada. Esta vulnerabilidad está corregida en la versión 2.7.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-30914 changed 2026-03-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x8qh-7475-c5mp changed 2026-03-24 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4699 changed 2026-03-23 | CC-BY-4.0 |
| NVD | CVE-2026-30914 changed 2026-06-17 | Public domain |