CVE-2026-49245
SFTPGo: Stored XSS via inline parameter on public shares and user file download
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.
INFO
Published Date :
Aug. 20, 2026, 10:17 p.m.
Last Modified :
Oct. 18, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | MITRE-CVE |
Solution
- Update SFTPGo to version 2.7.3 or later.
- Verify the update is correctly applied.
- Review file upload and sharing configurations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-49245.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-49245 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-49245
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-49245 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-49245 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 18, 2026
Action Type Old Value New Value Added Translation Title: sftpgo de drakkan, Description: SFTPGo es una solución de transferencia de archivos de código abierto y basada en eventos. Desde la versión 2.2.0 hasta la 2.7.3, el parámetro de consulta inline en las descargas de archivos de recursos compartidos navegables y en las descargas de archivos de usuarios autenticados suprime Content-Disposition: attachment, permitiendo que un archivo HTML controlado por el atacante almacenado en un recurso compartido o directorio personal sea servido como text/html en el origen web de SFTPGo. Un atacante que puede colocar el archivo puede enviar un enlace malicioso a una víctima, y al abrir ese enlace se ejecuta el contenido almacenado en el contexto del navegador de la víctima. La explotación requiere ingeniería social y acceso adecuado al recurso compartido o a la carpeta compartida, mientras que las cookies de sesión HttpOnly limitan el robo directo de cookies. Este problema está solucionado en la versión 2.7.3. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 21, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-49245', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-21T15:35:39.407005Z'} -
New CVE Received by [email protected]
Aug. 20, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'drakkan', 'product': 'sftpgo', 'versions': [{'status': 'affected', 'version': '>= 2.2.0 < 2.7.2'}]}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N Added CWE CWE-79 Added Reference https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15 Added Reference https://github.com/drakkan/sftpgo/releases/tag/v2.7.3 Added Reference https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54