{"id":"CVE-2026-103028","aliases":["EUVD-2026-98781","GHSA-wwv9-g5x4-966q","GO-2026-6802"],"status":"published","title":"SFTPGo source-side file-pattern filter bypass during copy operations","description":"SFTPGo is an open source, event-driven file transfer solution. From 2.5.0 until 2.7.6, an authenticated user with copy permission can copy a source file denied by denied_patterns or outside allowed_patterns to an allowed destination name because file-pattern filters are evaluated only on the destination. The user can then read the denied file contents. Recursive directory copies can reproduce restricted contents under an allowed path, and the hide policy is bypassed because files that appear missing to stat and directory listings can still be copied. Home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization remain enforced. This issue is fixed in 2.7.6.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00219,"percentile":0.12521,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2026-10-13T14:54:47Z","modified":"2026-10-28T02:30:41Z","fixes":[{"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","fixed_in":["2.7.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"last_affected":"2.7.5"},{"fixed":"2.7.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.7.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.7.6"}]}]}],"products":[{"vendor":"drakkan","product":"sftpgo"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-wwv9-g5x4-966q","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/drakkan/sftpgo/commit/dc8886bc079094b4ac2338df683f358b7676b5eb","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.6","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103028","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wwv9-g5x4-966q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103028.json","tags":["advisory"]},{"url":"https://github.com/drakkan/sftpgo","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-103028","title":"SFTPGo source-side file-pattern filter bypass during copy operations","description":"SFTPGo is an open source, event-driven file transfer solution. From 2.5.0 until 2.7.6, an authenticated user with copy permission can copy a source file denied by denied_patterns or outside allowed_patterns to an allowed destination name because file-pattern filters are evaluated only on the destination. The user can then read the denied file contents. Recursive directory copies can reproduce restricted contents under an allowed path, and the hide policy is bypassed because files that appear missing to stat and directory listings can still be copied. Home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization remain enforced. This issue is fixed in 2.7.6.","status":"published","published":"2026-10-13T14:54:47.246Z","modified":"2026-10-14T14:58:43.81Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T13:34:37.420074Z"}],"euvd":[{"id":"EUVD-2026-98781","description":"SFTPGo is an open source, event-driven file transfer solution. From 2.5.0 until 2.7.6, an authenticated user with copy permission can copy a source file denied by denied_patterns or outside allowed_patterns to an allowed destination name because file-pattern filters are evaluated only on the destination. The user can then read the denied file contents. Recursive directory copies can reproduce restricted contents under an allowed path, and the hide policy is bypassed because files that appear missing to stat and directory listings can still be copied. Home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization remain enforced. This issue is fixed in 2.7.6.","status":"published","published":"2026-10-13T14:54:47Z","modified":"2026-10-14T14:58:43Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T17:27:15.108271Z"}],"ghsa":[{"id":"GHSA-wwv9-g5x4-966q","title":"SFTPGo source-side file-pattern filter bypass during copy operations","description":"### Summary\n\nFile 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.\n\n### Details\n\nAn 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.","status":"published","published":"2026-10-15T20:22:10Z","modified":"2026-10-15T20:22:12Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:41:32.483482Z"}],"nvd":[{"id":"CVE-2026-103028","description":"SFTPGo is an open source, event-driven file transfer solution. From 2.5.0 until 2.7.6, an authenticated user with copy permission can copy a source file denied by denied_patterns or outside allowed_patterns to an allowed destination name because file-pattern filters are evaluated only on the destination. The user can then read the denied file contents. Recursive directory copies can reproduce restricted contents under an allowed path, and the hide policy is bypassed because files that appear missing to stat and directory listings can still be copied. Home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization remain enforced. This issue is fixed in 2.7.6.","status":"published","published":"2026-10-13T15:17:30.653Z","modified":"2026-10-14T15:17:03.713Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:12:57.132005Z"}],"osv":[{"id":"CVE-2026-103028","title":"SFTPGo source-side file-pattern filter bypass during copy operations","description":"SFTPGo is an open source, event-driven file transfer solution. From 2.5.0 until 2.7.6, an authenticated user with copy permission can copy a source file denied by denied_patterns or outside allowed_patterns to an allowed destination name because file-pattern filters are evaluated only on the destination. The user can then read the denied file contents. Recursive directory copies can reproduce restricted contents under an allowed path, and the hide policy is bypassed because files that appear missing to stat and directory listings can still be copied. Home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization remain enforced. This issue is fixed in 2.7.6.","status":"published","published":"2026-10-13T14:54:47.246Z","modified":"2026-10-28T02:30:41.787435251Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:44:54.236592Z"},{"id":"GHSA-wwv9-g5x4-966q","title":"SFTPGo source-side file-pattern filter bypass during copy operations","description":"### Summary\n\nFile 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.\n\n### Details\n\nAn 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.","status":"published","published":"2026-10-15T20:22:10Z","modified":"2026-10-19T21:41:22.513452094Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"GO-2026-6802","title":"SFTPGo source-side file-pattern filter bypass during copy operations in github.com/drakkan/sftpgo","description":"SFTPGo source-side file-pattern filter bypass during copy operations in github.com/drakkan/sftpgo","status":"published","published":"2026-10-19T21:08:35Z","modified":"2026-10-19T21:31:38.309842766Z","updated_at":"2026-11-02T15:47:03.11707Z"}]}}
