Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user with copy permission
-
DeliveryIdentify denied/hidden source file
-
ExploitIssue server-side copy to allowed destination name
-
ExecutionFilter check passes on destination only
-
PersistDownload duplicated file
-
ImpactRead restricted contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires (1) a valid, authenticated SFTPGo account (PR:L) that has been granted the copy permission (PermCopy), and (2) a deployment that relies on file-pattern filters - denied_patterns or allowed_patterns - on that user, since the bug is that these filters were evaluated only on the copy destination and not the source. If no pattern filters are configured there is no confidentiality boundary to bypass. Exploitation is limited by the fact that home-directory boundaries, virtual-folder layout, per-directory permissions, access to other accounts, and administrative authorization all remain enforced, so an attacker can only expose pattern-restricted files that already lie within their own accessible filesystem scope; no anonymous/unauthenticated access is possible. |
| Impact | This is a genuine but modest-severity authorization flaw, not a high-priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N = 4.3 Medium) is internally consistent with the description: network-reachable, low-complexity, but requiring an existing authenticated account (PR:L) with the copy permission, and yielding only limited confidentiality impact (C:L) with no integrity or availability effect. All signals point the same way - this is a confidentiality-only privilege/filter-bypass usable by someone who already has a valid foothold. No EPSS score was provided in the input, and there is no CISA KEV listing and no public exploit code referenced, so there is no evidence of active or widespread exploitation. The primary caveat is that real-world risk is entirely conditional on configuration: the vulnerability only matters where administrators rely on denied_patterns/allowed_patterns file-pattern filters as a confidentiality control, and only an authorized user (not an anonymous remote attacker) can abuse it. Net: patch in the normal cycle; it is a legitimate access-control weakness but not a mass-exploitation threat. |
| Exploit ScenarioDerived | An authenticated SFTPGo user who has been granted the copy permission but is denied access to certain files via denied_patterns (or restricted to allowed_patterns) issues a server-side copy of a restricted source file to a destination name that matches the allowed pattern. Because the pre-fix code only validated the destination path against the filters, the copy succeeds and the user then downloads the duplicate, reading contents they were never supposed to see; recursive directory copies can similarly reconstruct hidden/denied content under an allowed path. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
SFTPGo versions 2.5.0 through 2.7.5 allow an authenticated user with copy permission to bypass file pattern filters because these filters are evaluated only on the copy destination, enabling read access to denied files and reproduction of restricted content via recursive directory copies. The hide policy is also bypassed, as files that appear missing to stat and directory listings can still be copied. Fixed in 2.7.6; no public exploit identified at time of analysis. CVSS 4.3 reflects limited confidentiality impact since home-directory boundaries, virtual-folder layout, per-directory permissions, and access to other accounts remain enforced.
RemediationAI
Upgrade to SFTPGo 2.7.6 or later, which contains the vendor-released patch. The release is available at https://github.com/drakkan/sftpgo/releases/tag/v2.7.6. If immediate upgrade is not possible, as a compensating control, revoke the copy permission (PermCopy) from users who rely on pattern filters for confidentiality, or avoid configuring denied_patterns/allowed_patterns as the sole access control for sensitive files, understanding that this reduces functionality. The fix commit can be applied if building from source. No public exploit code is known, so the risk is moderate; prioritize based on exposure of pattern-restricted files.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SFTPGo is an event-driven file transfer solution written in Go, supporting SFTP, FTP/S, WebDAV, and HTTP/S. The vulnerability is a CWE-863 (Incorrect Authorization) issue where file-pattern filters (denied_patterns and allowed_patterns) were checked only on the destination path during copy operations, not the source. A user with PermCopy could copy a denied source file to an allowed destination name and then read its contents. The fix, commit dc8886bc079094b4ac2338df683f358b7676b5eb, introduces checkCopyPermissions that validates both source and destination against the user's IsFileAllowed policy, and also hardens rename operations. The affected CPE is cpe:2.3:a:drakkan:sftpgo:*:*:*:*:*:*:*:*.
Know when Sftpgo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Network-accessible service abused by an authenticated user with copy permission (PR:L), low complexity, no user interaction; only pattern-restricted file contents are disclosed, so C:L and I:N/A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
SFTPGo is configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support. Rated high severity (CVSS 8.1), this
Malformed SSH subsystem requests crash the entire SFTPGo server process in versions prior to 2.7.5, disconnecting every
SFTPGo is an SFTP server written in Go. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no
EUVD-2026-98781
GHSA-wwv9-g5x4-966q
NVD
CVE.org
EPSS
Exploit-DB