CVE-2026-103028: SFTPGo source-side file-pattern filter bypass during copy operations

Published Oct 13, 2026
·
Updated

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. 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.

Other sources

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 deniedpatterns or outside allowedpatterns 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.

— MITRE

Affected Software

2 affected componentsFixes available
SFTPGo SFTPGo>=2.5.0<2.7.6
go/github.com/drakkan/sftpgo/v2>=2.5.0<=2.7.5
2.7.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/drakkan/sftpgo/v2 to a version that resolves this vulnerability.

    Fixed in 2.7.6
  2. Upgrade

    Upgrade SFTPGo to a version that resolves this vulnerability.

    Fixed in 2.7.6

Event History

Oct 13, 2026
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Oct 15, 2026
Advisory Published
via GitHub·08:22 PM
Data Sourced
via GitHub·08:22 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which users and configurations are exposed?

The issue affects SFTPGo versions from 2.5.0 through 2.7.6 when a user has copy permission and source-side denied_patterns, allowed_patterns, or hide policy restrictions are relied upon to prevent access to file contents. The user must be able to copy the restricted source to a destination name that passes the pattern checks.

2

What data can an attacker access or copy?

An authenticated user can copy a source file that should be denied or outside allowed_patterns and then read its contents from the permitted destination. Recursive directory copies can reproduce restricted contents under an allowed path, including files hidden from stat operations and directory listings.

3

Does this allow access to other users' files or bypass directory isolation?

No. Home-directory boundaries, virtual-folder layout, per-directory permissions, access controls for other accounts, and administrative authorization remain enforced.

4

What is the remediation?

Upgrade to SFTPGo 2.7.6, which fixes the issue. Until upgrading, do not rely on file-pattern filters or hide policy alone to protect sensitive source files from users who have copy permission; restrict copy permission where feasible.

5

How can I determine whether a user may have exploited this issue?

Review whether affected users had copy permission and whether their accessible areas used denied_patterns, allowed_patterns, or hide policies to restrict source files. Look for copied files or recursively copied directories placed under destination paths permitted by those filters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203