Skip to main content
VulnerabilityPublished

CVE-2026-30915: drakkan sftpgo · Path Traversal

Affects drakkan sftpgoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.7.1 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade sftpgo and drakkan/sftpgo to 2.7.1.

Affected software

ProductAffectedFixed in
drakkansftpgoAffected
  • >=2.3.0 <2.7.1
Fixed in
  • 2.7.1
GitHubdrakkan/sftpgopkg:github/drakkan/sftpgoOther threatsAffected
  • <2.7.1
Fixed in
  • 2.7.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade SFTPGo to version 2.7.1 or later, where the vulnerability is fixed. Until upgrading, organizations should enforce strict validation on usernames to disallow relative path components such as '../' or other directory traversal sequences. Implement input sanitization at the user creation stage to prevent malicious usernames. Restrict user creation privileges to trusted administrators and monitor logs for suspicious username patterns. Employ file system permissions and access controls to limit the impact of potential traversal attempts. Additionally, consider isolating SFTPGo instances in segmented network zones and use intrusion detection systems to detect anomalous file access patterns. Regularly audit SFTPGo configurations and user directories to ensure no unauthorized files are accessible outside intended paths.

Description

SFTPGo is an open source, event-driven file transfer solution. SFTPGo versions before v2.7.1 contain an input validation issue in the handling of dynamic group paths, for example, home directories or key prefixes. When a group is configured with a dynamic home directory or key prefix using placeholders like %username%, the value replacing the placeholder is not strictly sanitized against relative path components. Consequently, if a user is created with a specially crafted username the resulting path may resolve to a parent directory instead of the intended sub-directory. This issue is fixed in version v2.7.1

References

Community reviews

Loading reviews…