Vulnerabilities in pkg:golang/github.com/drakkan/sftpgo/v2

PACKAGE
Advisory Identifier: GHSA-wwv9-g5x4-966q
Advisory Summary

CVE-2026-103028 is a MODERATE (CVSS 4.3) remote code execution vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/drakkan/sftpgo/v2 libraries in the Go ecosystem. The issue involves sftpgo source-side file-pattern filter bypass during copy operations. Remediation is available by upgrading affected packages to version 2.7.6.

12 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/drakkan/sftpgo/v2

12 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/drakkan/sftpgo/v2. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-wwv9-g5x4-966q CVE-2026-103028 MODERATE SFTPGo source-side file-pattern filter bypass during copy operations
GHSA-q7pc-356p-hggc CVE-2026-77375 MODERATE SFTPGo: Denial of service via malformed SSH channel request
GHSA-3vcg-pv95-pq54 CVE-2026-49245 LOW SFTPGo has stored XSS via inline parameter on public shares and user file download
GHSA-h64p-8h4r-6gfh CVE-2026-49244 MODERATE SFTPGo has path confinement bypass in public browsable share partial ZIP download
GHSA-m83q-5wr4-4gfp CVE-2026-30915 MODERATE SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
GHSA-x8qh-7475-c5mp CVE-2026-30914 MODERATE SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy
GHSA-vj7w-3m8c-6vpx CVE-2025-24366 HIGH SFTPGo has insufficient sanitization of user provided rsync command
GHSA-6943-qr24-82vx CVE-2024-52801 MODERATE sftpgo vulnerable to brute force takeover of OpenID Connect session cookies
GHSA-49cc-xrjf-9qf7 CVE-2024-52309 MODERATE SFTPGo allows administrators to restrict command execution from the EventManager
GHSA-x72p-g37q-4xr9 CVE-2024-40430 MODERATE Withdrawn: SFTPGo's JWT implmentation lacks certain security measures
GHSA-hw5f-6wvv-xcrh CVE-2024-37897 MODERATE SFTPGo has insufficient access control for password reset
GHSA-54qx-8p8w-xhg8 CVE-2022-36071 HIGH SFTPGo vulnerable to recovery codes abuse

CVE-2026-103028 at a Glance

CVE Identifier CVE-2026-103028
GHSA Identifier GHSA-wwv9-g5x4-966q
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/drakkan/sftpgo/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-103028

To remediate this vulnerability, upgrade all affected Github.com/drakkan/sftpgo/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/drakkan/sftpgo/v2 fixed: 2.7.6
Upgrade github.com/drakkan/sftpgo/v2 to 2.7.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/drakkan/sftpgo/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-103028, inspect your project dependencies for Github.com/drakkan/sftpgo/v2:

inspect dependencies for github.com/drakkan/sftpgo/v2

Analyze the terminal output to locate any version of Github.com/drakkan/sftpgo/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/drakkan/sftpgo/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary File 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. ### 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.

CVE-2026-103028 Affected Github.com/drakkan/sftpgo/v2 Versions

1 component(s)
Fixed Versions:
2.7.6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/drakkan/sftpgo/v2
Go
≥ 2.5.0
< 2.7.6
2.7.6

References

Frequently Asked Questions

What is CVE-2026-103028?
CVE-2026-103028 is a security vulnerability in Github.com/drakkan/sftpgo/v2 involving SFTPGo source-side file-pattern filter bypass during copy operations under CWE-863: Incorrect Authorization.
Which Github.com/drakkan/sftpgo/v2 versions are affected?
Affected versions include releases prior to 2.7.6 across affected packages: github.com/drakkan/sftpgo/v2.
What version fixes CVE-2026-103028?
Upgrading to 2.7.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/drakkan/sftpgo/v2 affected?
Yes, github.com/drakkan/sftpgo/v2 is affected in releases prior to 2.7.6. Upgrade your dependency to 2.7.6 or later.
What is the CVSS score of CVE-2026-103028?
CVE-2026-103028 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-103028?
CVE-2026-103028 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2026-103028?
Run the dependency tree command: 'inspect dependencies for github.com/drakkan/sftpgo/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wwv9-g5x4-966q",
  "modified" : "2026-10-15T20:22:10Z",
  "published" : "2026-10-15T20:22:10Z",
  "aliases" : [ "CVE-2026-103028" ],
  "summary" : "SFTPGo source-side file-pattern filter bypass during copy operations",
  "details" : "### 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/drakkan/sftpgo/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5.0"
      }, {
        "fixed" : "2.7.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.7.5"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/drakkan/sftpgo/security/advisories/GHSA-wwv9-g5x4-966q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-103028"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/drakkan/sftpgo/commit/dc8886bc079094b4ac2338df683f358b7676b5eb"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/drakkan/sftpgo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/drakkan/sftpgo/releases/tag/v2.7.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-15T20:22:10Z",
    "nvd_published_at" : "2026-10-13T15:17:30Z"
  }
}