Vulnerability · Published Aug 20, 2026 · Assigned by GitHub_M

CVE-2026-49245SFTPGo: Stored XSS via inline parameter on public shares and user file download

Low 3.7

In plain English

A low-severity cross-site scripting in sftpgo from drakkan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.3%top 83.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/drakkan/sftpgono fix listedGO-2026-5900
Gogithub.com/drakkan/sftpgo/v22.7.3GHSA-3vcg-pv95-pq54
Gogithub.com/drakkan/sftpgo/v22.7.3GO-2026-5900

Affected products (as reported)

VendorProductVersions
drakkan sftpgo >= 2.2.0 < 2.7.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

References