# CVE-2021-3331: WinSCP before 5.17.10 allows remote attackers to execute arbitrary programs when the URL handler encounters a crafted URL that loads sessio…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.70%, higher than 94% of CVEs (2026-12-01)
- Published: 2021-01-27T20:22:25.000Z
- Modified: 2026-10-08T21:17:39.890Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

WinSCP before 5.17.10 allows remote attackers to execute arbitrary programs when the URL handler encounters a crafted URL that loads session settings. (For example, this is exploitable in a default installation in which WinSCP is the handler for sftp:// URLs.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- winscp winscp: before 5.17.10

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://winscp.net/eng/docs/history#5.17.10> (release-notes, vendor-advisory)
- <https://winscp.net/tracker/1943> (patch, vendor-advisory)
- <https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d> (patch, third-party-advisory)
- <https://winscp.net/eng/docs/rawsettings> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-3331](https://www.cve.org/CVERecord?id=CVE-2021-3331), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2021-3331](https://nvd.nist.gov/vuln/detail/CVE-2021-3331), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-3331 · Whole record: https://cve.day/CVE-2021-3331.json · Rebuilt by cve.day 2026-11-25T22:57:59.746Z
