{"cve":"CVE-2026-41589","nvd":{"published":"2026-05-07T14:16:02.853","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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 ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6},"cwes":["CWE-22"],"references":["https://github.com/charmbracelet/wish/releases/tag/v2.0.1","https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h","https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h"],"products":["charm:wish"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-41589","score":0.00393,"percentile":0.33259,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-xjvp-7243-rg9h","url":"https://osv.dev/vulnerability/GHSA-xjvp-7243-rg9h","summary":"Wish has SCP Path Traversal that allows arbitrary file read/write","modified":"2026-07-07T20:41:06.510082917Z","packages":[{"ecosystem":"Go","name":"charm.land/wish/v2","purl":"pkg:golang/charm.land/wish/v2","ranges":["<2.0.1"],"fixed":["2.0.1"]},{"ecosystem":"Go","name":"github.com/charmbracelet/wish","purl":"pkg:golang/github.com/charmbracelet/wish","ranges":["<=1.4.7"],"fixed":[]}]},{"id":"GO-2026-5762","url":"https://osv.dev/vulnerability/GO-2026-5762","summary":"Wish has SCP Path Traversal that allows arbitrary file read/write in charm.land/wish","modified":"2026-07-07T20:30:15.015219540Z","packages":[{"ecosystem":"Go","name":"charm.land/wish/v2","purl":"pkg:golang/charm.land/wish/v2","ranges":["<2.0.1"],"fixed":["2.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}