Advisory

GHSA-x8qh-7475-c5mp

Also known as: CVE-2026-30914, GO-2026-4699

Summary

SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-13 18:55 UTC
Modified
2026-03-24 21:01 UTC

Affected packages and fixes

github.com/drakkan/sftpgo/v2

Go · All systems

Affected

  • introduced 0, fixed 2.7.1 (semver)

Fixed versions

2.7.1

Fix

github.com/drakkan/sftpgo

Go · All systems

Affected

  • introduced 0, last affected 1.2.2 (semver)

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences