CVE-2026-30914
JSON

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 packageVersionsReported by
drakkan sftpgo< 2.7.1CVE List
github.com/drakkan/sftpgo/v2 (Go)before 2.7.1GitHub Advisory Database, Go Vulnerability Database
github.com/drakkan/sftpgo (Go)up to 1.2.2, all versionsGitHub Advisory Database, Go Vulnerability Database
sftpgo_project sftpgobefore 2.7.1NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2026-30914 changed 2026-03-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-x8qh-7475-c5mp changed 2026-03-24CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4699 changed 2026-03-23CC-BY-4.0
NVDCVE-2026-30914 changed 2026-06-17Public domain