CVE-2026-41589
9.6 CRITICALWish is an SSH server with defaults and a collection of middlewares
Published: 2026-05-07 · Last updated: 2026-05-29
Severity and scoring
- CVSS
- 9.6 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- CWE
- CWE-22
Affected products
| Vendor | Product |
|---|---|
| charm | wish |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-41589
- [Other]https://github.com/charmbracelet/wish/releases/tag/v2.0.1
- [Vendor advisory]https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h
- [Vendor advisory]https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h
Related CVEs
Same CWE
- CVE-2026-47368 — A malicious actor with access to the network could exploit a Path Traversal vulnerability found in certain devices running UniFi OS to ob... (8.6 HIGH)
- CVE-2026-45171 — Incomplete input validation and improperly configured folder permissions within Idira Privileged Session Manager (PSM) versions prior to ...
- CVE-2025-24268 — A parsing issue in the handling of directory paths was addressed with improved path validation (5.5 MEDIUM)
- CVE-2026-49982 — tmp is a temporary file and directory creator for node.js (8.2 HIGH)
- CVE-2026-44705 — tmp is a temporary file and directory creator for node.js