All vulnerabilities
CVE-2026-103028GHSA-wwv9-g5x4-966qGO-2026-6802

github.com/drakkan/sftpgo/v2: SFTPGo source-side file-pattern filter bypass during copy operations

drakkan github.com/drakkan/sftpgo/v2goLibraries & packages
CVSS
4.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.22%Chance of exploitation activity in the next 30 days, higher than 11% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in2.7.6Fixed versionGitHub
Published13 Oct 2026Updated 19 Oct 2026CVE List

What fixes it

  • 2.7.6github.com/drakkan/sftpgo/v2, goGitHubgo get github.com/drakkan/sftpgo/v2@v2.7.6
  • 2.7.6github.com/drakkan/sftpgo/v2, GoOSVgo get github.com/drakkan/sftpgo/v2@v2.7.6

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Summary

File pattern filters (denied_patterns / allowed_patterns) were evaluated on the destination of a copy only. A user holding the copy permission could copy a file denied by the filters to a permitted name and then read it. A recursive directory copy reproduced the contents of a restricted directory under a path where the filters do not deny them, and the hide policy was affected in the same way: a file reported as missing by stat and by directory listings could still be copied.

Details

An authenticated user can read the contents of files that the file pattern filters are configured to deny them. Nothing else is bypassed: the home directory, the virtual folder layout and the per-directory permissions are all still enforced, and both ends of the copy are paths the account can already reach. No access to other accounts and no administrative capability.

Text from GitHub Advisory Database

Affected versions 3

  • github.com/drakkan/sftpgo/v2, go>= 2.5.0, <= 2.7.5GitHub
  • sftpgoaffected: >= 2.5.0, < 2.7.6CVE List
  • github.com/drakkan/sftpgo/v2, Gofrom 2.5.0, fixed in 2.7.6OSV

References 5