Read the docs
TI-2026-36442 Aliases CVE-2026-49245GHSA-3vcg-pv95-pq54

SFTPGo: Stored XSS via inline parameter on public shares and user file download

Priority LOW 17CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the inline query parameter on browsable-share file downloads and authenticated user-file downloads suppresses Content-Disposition: attachment, allowing an attacker-controlled HTML file stored in a share or home directory to be served as text/html in the SFTPGo web origin. An attacker who can place the file can send a crafted link to a victim, and opening that link executes the stored content in the victim's browser context. Exploitation requires social engineering and suitable share or shared-folder access, while HttpOnly session cookies limit direct cookie theft. This issue is fixed in version 2.7.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00252 16th percentileScored 2026-11-07
Fix Fixed github.com/drakkan/sftpgo/v2 (Go): 2.7.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
drakkansftpgo>= 2.2.0 < 2.7.2—No fix listedCNA
—github.com/drakkan/sftpgo/v2 (Go)2.2.0 to before 2.7.32.7.3Patch availableGHSA-3vcg-pv95-pq54
  • sftpgo Vendordrakkan Affected >= 2.2.0 < 2.7.2 Fixed in — No fix listed CNA
  • github.com/drakkan/sftpgo/v2 (Go) Vendor— Affected 2.2.0 to before 2.7.3 Fixed in 2.7.3 Patch available GHSA-3vcg-pv95-pq54

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*——drakkan
  • cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:* Versions — — ·drakkan

Remediation

  • Fix · GHSA-3vcg-pv95-pq54 github.com/drakkan/sftpgo/v2 (Go) Fixed in 2.7.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-49245
  2. 2026-10-03 Alias added: GHSA-3vcg-pv95-pq54

References

  • TI-2022-16494 Recovery codes abuse in SFTPGo CVSS 3.1HIGH 8.3
  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2025-18109 Insufficient sanitization of user provided rsync command in SFTPGo CVSS 3.1HIGH 7.5
  • TI-2026-71799 Denial of service in SFTPGo via malformed SSH channel request CVSS 3.1MEDIUM 6.5
  • TI-2022-18599 XSS Vulnerabilities in WebClient CVSS 3.1MEDIUM 6.1
  • TI-2026-36441 SFTPGo: Path confinement bypass in public browsable share partial ZIP download CVSS 3.1MEDIUM 5.9
See all 13 →

Sources