Wish has SCP Path Traversal that allows arbitrary file read/write
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| charmbracelet | wish | 2.0.0 to before 2.0.1 | 2.0.1 | Patch available | CNA |
| — | charm.land/wish/v2 (Go) | before 2.0.1 | 2.0.1 | Patch available | GHSA-xjvp-7243-rg9h |
| — | github.com/charmbracelet/wish (Go) | up to 1.4.7 | — | No fix listed | GHSA-xjvp-7243-rg9h |
- wish Vendorcharmbracelet Affected 2.0.0 to before 2.0.1 Fixed in 2.0.1 Patch available CNA
- charm.land/wish/v2 (Go) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-xjvp-7243-rg9h
- github.com/charmbracelet/wish (Go) Vendor— Affected up to 1.4.7 Fixed in — No fix listed GHSA-xjvp-7243-rg9h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:* | 2.0.0 | Vulnerable | charmbracelet |
- cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:* Versions 2.0.0 Vulnerable ·charmbracelet
Remediation
- Fix · CNA wish (charmbracelet) Fixed in 2.0.1
- Fix · GHSA-xjvp-7243-rg9h charm.land/wish/v2 (Go) Fixed in 2.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41589
- 2026-10-03 Alias added: GHSA-xjvp-7243-rg9h
References
Sources
- CVE-2026-41589 · CVE Program
- CVE-2026-41589 · NVD
- FIRST EPSS
- GHSA-xjvp-7243-rg9h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences