Critical severity9.6GHSA Advisory· Published May 7, 2026· Updated May 29, 2026
CVE-2026-41589
CVE-2026-41589
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
charm.land/wish/v2Go | < 2.0.1 | 2.0.1 |
github.com/charmbracelet/wishGo | <= 1.4.7 | — |
Affected products
4<= 1.4.7+ 1 more
- (no CPE)range: <= 1.4.7
- cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:*
- ghsa-coords2 versions
< 2.0.1+ 1 more
- (no CPE)range: < 2.0.1
- (no CPE)range: <= 1.4.7
Patches
Vulnerability mechanics
References
4- github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9hnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-xjvp-7243-rg9hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-41589ghsaADVISORY
- github.com/charmbracelet/wish/releases/tag/v2.0.1nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.