CVE-2026-41589
Last modified
CVE-2026-41589 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Charm | Wish | 2.0.0 |
References
- https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9hExploit, Mitigation, Vendor Advisory
- https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9hExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41589?
How severe is CVE-2026-41589?
How do I fix CVE-2026-41589?
Are you affected by CVE-2026-41589?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
