Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103028 Overview
CVE-2026-103028 is an authorization flaw in SFTPGo, an open source event-driven file transfer solution. The vulnerability affects versions 2.5.0 through 2.7.5 and allows an authenticated user with copy permission to bypass file pattern filters. File-pattern filters are evaluated only on the destination path, not the source. An attacker with low privileges can copy a file matching denied_patterns or falling outside allowed_patterns to an allowed destination name and then read the restricted content. Recursive directory copies can reproduce restricted content under permitted paths, and the hide policy is bypassed because files hidden from stat and directory listings remain copyable. The issue is fixed in version 2.7.6.
Critical Impact
Authenticated users with copy permission can bypass denied_patterns, allowed_patterns, and the hide policy to read files that should be restricted within their home directory scope.
Affected Products
- SFTPGo versions 2.5.0 through 2.7.5
- Fixed in SFTPGo 2.7.6
- All deployments relying on denied_patterns, allowed_patterns, or hide policy for access restriction
Discovery Timeline
- 2026-10-13 - CVE-2026-103028 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-103028
Vulnerability Analysis
SFTPGo exposes file-pattern filters that administrators use to restrict access to specific file types or names. These filters support both allowed_patterns and denied_patterns, along with a hide policy that removes matching files from directory listings and stat responses. The copy operation enforces these filters only on the destination path. An authenticated user with copy permission can select a source file that would normally be denied by filter rules and copy it to a destination path that passes evaluation. After the copy completes, the user holds a readable duplicate of the restricted content. The flaw is tracked as an authorization issue [CWE-863] and does not affect home-directory boundaries, virtual-folder layout, per-directory permissions, cross-account access, or administrative authorization controls.
Root Cause
The copy handler evaluates allowed_patterns and denied_patterns against the destination filename only. The source filename is not checked against the same pattern filters, which creates an asymmetric authorization decision. The hide policy relies on filtering stat and listing output, but the copy path reads source bytes directly without consulting hide rules.
Attack Vector
An attacker needs an authenticated SFTPGo account with copy permission. The attacker issues a copy request where the source references a filename that would be blocked by filter rules and the destination uses a name that passes filter evaluation. Recursive directory copies amplify the impact by reproducing entire restricted directory trees under an allowed path. The attack requires network access to the SFTPGo service.
No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-wwv9-g5x4-966q and the upstream commit dc8886b for the fix details.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-103028
Indicators of Compromise
- Copy operations where the source path matches a configured denied_patterns entry but the destination path does not
- Unexpected files appearing in user home directories whose contents match the signatures of restricted or hidden files
- Recursive copy requests that target directories containing files hidden by SFTPGo policy
Detection Strategies
- Enable SFTPGo audit logging and alert on copy actions issued by non-administrative accounts
- Correlate copy events with the source filename to flag any match against known denied patterns
- Baseline normal copy volumes per user and alert on recursive copies that produce large numbers of new files
Monitoring Recommendations
- Forward SFTPGo logs to a centralized SIEM for retention and query
- Track user accounts with the copy permission and review whether that permission is required
- Monitor filesystem changes under user home directories for duplicates of files protected by denied_patterns
How to Mitigate CVE-2026-103028
Immediate Actions Required
- Upgrade SFTPGo to version 2.7.6 or later from the v2.7.6 release page
- Audit user roles and remove copy permission from accounts that do not require it
- Review audit logs for suspicious copy activity since the deployment of a version 2.5.0 or later
Patch Information
The vulnerability is fixed in SFTPGo 2.7.6. The patch applies pattern filter evaluation to both source and destination paths during copy operations and extends the hide policy to the copy handler. See the upstream commit dc8886b for the code change.
Workarounds
- Revoke the copy permission for all non-administrative users until the upgrade is applied
- Enforce access restrictions through per-directory permissions and virtual-folder layout rather than relying on denied_patterns or the hide policy
- Restrict network exposure of the SFTPGo service to trusted sources while remediation is in progress
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

