{"id":"CVE-2026-49245","title":"SFTPGo is an open source, event-driven file transfer solution","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, allowin…","severity":"low","cvss":3.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":"drakkan","product":"github.com/drakkan/sftpgo/v2","affected":["github.com/drakkan/sftpgo/v2 >= 2.2.0, <= 2.7.1"],"patched":["github.com/drakkan/sftpgo/v2 2.7.3"],"published":"2026-08-20","updated":"2026-09-18","sourceUpdated":"2026-09-18T20:09:01.757","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49245","references":[{"url":"https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15","label":"security-advisories@github.com"},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","label":"security-advisories@github.com"},{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-3vcg-pv95-pq54"}],"tags":["nvd","ghsa","go"],"epss":0.002,"epssPercentile":0.102,"ecosystem":"go","ingestedAt":"2026-07-02T19:41:50.949Z","slug":"CVE-2026-49245","body":"## Overview\n\nSFTPGo 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-49245)\n\nAffected packages:\n\n- `github.com/drakkan/sftpgo/v2 >= 2.2.0, <= 2.7.1`\n\nPatched in:\n\n- `github.com/drakkan/sftpgo/v2 2.7.3`\n\nSource: https://github.com/advisories/GHSA-3vcg-pv95-pq54","depth":"sunlit","depthScore":20,"depthScoreParts":{"impact":20.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}