CVE-2026-103028: SFTPGo source-side file-pattern filter bypass during copy operations
Summary File pattern filters (deniedpatterns / allowedpatterns) 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.
Published Oct 15, 2026
Affected packages
github.com/drakkan/sftpgo/v2
- Ecosystem
- Go
- Affected
- >= 2.5.0, <= 2.7.5
- Fixed in
- 2.7.6
- Check
go list -m github.com/drakkan/sftpgo/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to arpitjain099.
References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-wwv9-g5x4-966q
- https://nvd.nist.gov/vuln/detail/CVE-2026-103028
- https://github.com/drakkan/sftpgo/commit/dc8886bc079094b4ac2338df683f358b7676b5eb
- https://github.com/drakkan/sftpgo/releases/tag/v2.7.6
- https://github.com/advisories/GHSA-wwv9-g5x4-966q
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-77375
SFTPGo: Denial of service via malformed SSH channel request
medium6.5Oct 15, 2026CVE-2026-49244
SFTPGo has path confinement bypass in public browsable share partial ZIP download
medium5.9Jul 2, 2026CVE-2026-49245
SFTPGo has stored XSS via inline parameter on public shares and user file download
low3.7Jul 2, 2026CVE-2026-30914
SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy
medium5.3No fixMar 13, 2026CVE-2026-30915
SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
medium6.9Mar 13, 2026CVE-2025-24366
SFTPGo has insufficient sanitization of user provided rsync command
high7.5No fixFeb 7, 2025
