{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41589","id":"CVE-2026-41589","title":"Wish has SCP Path Traversal that allows arbitrary file read/write","description":"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 ..","descriptionLong":"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.","published":"2026-05-07T13:17:58.717Z","updated":"2026-10-28T02:30:35.097302899Z","reserved":"2026-04-21T14:15:21.960Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["charmbracelet wish"],"affectedProducts":[{"vendor":"charmbracelet","product":"wish","defaultStatus":null,"versions":[{"version":">= 2.0.0, < 2.0.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"charm.land/wish/v2","purl":"pkg:golang/charm.land/wish/v2","ranges":["<2.0.1"],"fixed":["2.0.1"],"advisory":"GHSA-xjvp-7243-rg9h"},{"ecosystem":"Go","name":"github.com/charmbracelet/wish","purl":"pkg:golang/github.com/charmbracelet/wish","ranges":["<=1.4.7"],"fixed":[],"advisory":"GHSA-xjvp-7243-rg9h"}],"cwes":["CWE-22"],"aliases":["GHSA-xjvp-7243-rg9h","GO-2026-5762"],"references":[{"url":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/charmbracelet/wish/releases/tag/v2.0.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41589.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41589","tags":["advisory"]},{"url":"https://github.com/charmbracelet/wish","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00393,"epssPercentile":0.34146,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41589","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41589","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41589","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xjvp-7243-rg9h","ok":true,"note":"GHSA-xjvp-7243-rg9h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-41589","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}