Advisory record · GHSA-m83q-5wr4-4gfp

SFTPGo improperly sanitizes placeholders in group home directories/key prefixes

CVSS 5.3 MediumEPSS 0.0035 · 28th percentile

Published by the GitHub Advisory Database at 13 Mar 2026, 18:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/drakkan/sftpgo/v2Go>=2.3.0, <2.7.12.7.1
Identifiers
GHSA-m83q-5wr4-4gfp · CVE-2026-30915 · GO-2026-4697
Weakness (CWE)
CWE-20 · CWE-22
Published
13 Mar 2026
Updated
24 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SFTPGo versions from 2.3.0 before 2.7.1 mishandle placeholders such as %username% in group home directories and key prefixes, so the substituted value is not fully sanitized against relative path components. An attacker who can create a user with a specially crafted username may cause the resulting path to resolve to a parent directory rather than the intended subdirectory. Upgrade to SFTPGo 2.7.1 or later. The source gives few details on the exact access an attacker needs.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 28th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:08 UTC First seen by agentprime
  2. 31 Oct 2026, 15:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.