CVE-2026-103028

SFTPGo source-side file-pattern filter bypass during copy operations

Published Oct 13, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the SFTPGo file‑pattern filter being applied only to destination filenames during copy operations. An attacker who has authenticated access and copy permissions can cause a source file that matches denied_patterns or falls outside allowed_patterns to be copied to an allowed destination. The copy operation succeeds, and the attacker can then read the contents of the originally denied file. Recursive directory copies can duplicate restricted data under valid paths, and the hide policy is bypassed because files that appear missing are still copyable.

Affected Systems

Drakkan SFTPGo, open‑source event‑driven file transfer solution. Versions from 2.5.0 up through 2.7.5 are vulnerable; the issue was addressed in the 2.7.6 release and later.

Risk and Exploitability

CVSS score is 4.3, indicating medium severity. EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires authentication; an attacker must log into the SFTPGo service with a user account that has copy permissions. Once authenticated, the attacker can copy a denied file to an allowed destination and access its content. No remote code execution or privilege escalation is possible, but the flaw permits unauthorized data disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SFTPGo to version 2.7.6 or later.
  • If an upgrade is not immediately possible, remove or restrict copy permissions for user accounts that do not require this capability.
  • As a temporary measure, enforce stricter source‑side pattern validation through custom configuration or scripting to ensure denied_patterns are evaluated on source files as well.
  • Monitor file‑system logs for copy operations involving files that match denied patterns to detect potential abuse.

Generated by OpenCVE AI on October 13, 2026 at 17:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wwv9-g5x4-966q SFTPGo source-side file-pattern filter bypass during copy operations
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Drakkan
Drakkan sftpgo
Vendors & Products Drakkan
Drakkan sftpgo
Type Values Removed Values Added
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.
Title SFTPGo source-side file-pattern filter bypass during copy operations
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 2:58 PM
Reserved
Sep 29, 2026, 9:13 PM
Status
Deferred
Published
Oct 13, 2026, 3:17 PM
Modified
Oct 14, 2026, 3:17 PM