CVE-2026-41589: Wish has SCP Path Traversal that allows arbitrary file read/write
Vulnerability summary
CVE-2026-41589 is a critical (CVSS 9.6) vulnerability in charm wish. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 33.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 07-05-2026PublishedVulnerability first disclosed.
- 07-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- NVDNIST9.6CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Decrease -0.12 pp
From 0.51% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundWish
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Charm1 product
- wish2.0.0
Charm.land/wish1 product
- v2< 2.0.1
Charmbracelet1 product
- wish≥ 2.0.0, < 2.0.1
Github.com/charmbracelet1 product
- wish≤ 1.4.7
4 vendors · 4 products
References
4 links- github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9hX Refsource CONFIRMWEBAdvisoryExploitMitigationVendor Advisory