{"id":"CVE-2026-41589","sourceIdentifier":"security-advisories@github.com","published":"2026-05-07T14:16:02.853","lastModified":"2026-06-17T10:46:53.530","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Wish is an SSH server with defaults and a collection of middlewares. From version 2.0.0 to before version 2.0.1, the SCP middleware in charm.land/wish/v2 is vulnerable to path traversal attacks. A malicious SCP client can read arbitrary files from the server, write arbitrary files to the server, and create directories outside the configured root directory by sending crafted filenames containing ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"charmbracelet","product":"wish","versions":[{"version":">= 2.0.0, < 2.0.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","baseScore":9.6,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.1,"impactScore":5.8}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-07T14:38:51.636811Z","id":"CVE-2026-41589","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-22"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"68764D40-A084-40D8-84FA-F5EEFCD72FF2"}]}]}],"references":[{"url":"https://github.com/charmbracelet/wish/releases/tag/v2.0.1","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Vendor Advisory"]}]}