{"id":"CVE-2021-3331","state":"PUBLISHED","title":"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 exploit","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.)","publishedAt":"2021-01-27T20:22:25.000Z","updatedAt":"2026-10-08T21:03:32.228Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://winscp.net/eng/docs/history#5.17.10","https://winscp.net/tracker/1943","https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","https://winscp.net/eng/docs/rawsettings"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3331.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-3331","state":"PUBLISHED","datePublished":"2021-01-27T20:22:25.000Z","dateUpdated":"2026-10-08T21:03:32.228Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-01-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.)"}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://winscp.net/eng/docs/history#5.17.10","tags":["x_refsource_MISC"]},{"url":"https://winscp.net/tracker/1943","tags":["x_refsource_MISC"]},{"url":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","tags":["x_refsource_MISC"]},{"url":"https://winscp.net/eng/docs/rawsettings","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-01-27T20:22:25.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-3331","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.)"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://winscp.net/eng/docs/history#5.17.10","refsource":"MISC","url":"https://winscp.net/eng/docs/history#5.17.10"},{"name":"https://winscp.net/tracker/1943","refsource":"MISC","url":"https://winscp.net/tracker/1943"},{"name":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","refsource":"MISC","url":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d"},{"name":"https://winscp.net/eng/docs/rawsettings","refsource":"MISC","url":"https://winscp.net/eng/docs/rawsettings"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://winscp.net/eng/docs/history#5.17.10","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://winscp.net/tracker/1943","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://winscp.net/eng/docs/rawsettings","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T16:53:17.236Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-3331","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-08T21:02:17.906285Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:03:32.228Z"}}]}}}