Live threats

All CVEs / drakkan

CVE-2026-49245drakkan sftpgo

Low 3.7

Priority
22
CVSS 3.1
3.7
EPSS
—
Auth required
Yes
Published
Aug 20, 2026
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for sftpgo.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/drakkan/sftpgo all no fixed version —
Go github.com/drakkan/sftpgo/v2 ≥ 2.2.0 < 2.7.3 2.7.3 go get github.com/drakkan/sftpgo/v2@v2.7.3
Go github.com/drakkan/sftpgo/v2 ≥ 2.2.0 < 2.7.3 2.7.3 go get github.com/drakkan/sftpgo/v2@v2.7.3

Per OSV / GitHub Advisories (GO-2026-5900, GHSA-3vcg-pv95-pq54). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.