{"api_version":"1","generated_at":"2026-04-22T19:17:32+00:00","cve":"CVE-2021-3331","urls":{"html":"https://cve.report/CVE-2021-3331","api":"https://cve.report/api/cve/CVE-2021-3331.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3331","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3331"},"summary":{"title":"CVE-2021-3331","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.)","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-01-27 21:15:00","updated_at":"2021-02-04 15:59:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://winscp.net/eng/docs/rawsettings","name":"https://winscp.net/eng/docs/rawsettings","refsource":"MISC","tags":["Vendor Advisory"],"title":"Raw Session Settings :: WinSCP","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://winscp.net/tracker/1943","name":"https://winscp.net/tracker/1943","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"Bug 1943 – Prevent loading session settings that can lead to remote code execution from handled URLs :: Tracker :: WinSCP","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://winscp.net/eng/docs/history#5.17.10","name":"https://winscp.net/eng/docs/history#5.17.10","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"WinSCP :: Documentation (History)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","name":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Bug 1943: Prevent loading session settings that can lead to remote co… · winscp/winscp@faa96e8 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3331","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3331","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3331","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"winscp","cpe5":"winscp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3331","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"winscp","cpe5":"winscp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":[{"url":"https://winscp.net/eng/docs/history#5.17.10","refsource":"MISC","name":"https://winscp.net/eng/docs/history#5.17.10"},{"url":"https://winscp.net/tracker/1943","refsource":"MISC","name":"https://winscp.net/tracker/1943"},{"url":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d","refsource":"MISC","name":"https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d"},{"url":"https://winscp.net/eng/docs/rawsettings","refsource":"MISC","name":"https://winscp.net/eng/docs/rawsettings"}]}},"nvd":{"publishedDate":"2021-01-27 21:15:00","lastModifiedDate":"2021-02-04 15:59:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:*","versionEndExcluding":"5.17.10","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3331","Ordinal":"201289","Title":"CVE-2021-3331","CVE":"CVE-2021-3331","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3331","Ordinal":"1","NoteData":"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.)","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3331","Ordinal":"2","NoteData":"2021-01-27","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3331","Ordinal":"3","NoteData":"2021-01-27","Type":"Other","Title":"Modified"}]}}}