CVE-2026-49245
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.
How to fix
- github.com/drakkan/sftpgo/v22.7.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/drakkan/sftpgo/v2Go | 2.2.0 ≤ v < 2.7.3 | 2.7.3 |
| github.com/drakkan/sftpgoGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.