github.com/drakkan/sftpgo/v2
Affected
- introduced
0, fixed2.7.1(semver)
Fixed versions
2.7.1
Fix
- Fixed version
2.7.1go get github.com/drakkan/sftpgo/[email protected]
Advisory
Also known as: CVE-2026-30914, GO-2026-4699
SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.7.1 (semver)2.7.1
2.7.1go get github.com/drakkan/sftpgo/[email protected]0, last affected 1.2.2 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0