CVE-2026-41589 json
Wish has SCP Path Traversal that allows arbitrary file read/write
published 6mo ago modified 14d ago also GHSA-xjvp-7243-rg9h , GO-2026-5762 , EUVD-2026-28370
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
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.
Patch / fix
- go charm.land/wish/v2 2.0.1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-41589 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 6mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | charm.land/wish/v2 | <2.0.1 |
2.0.1 |
| go | github.com/charmbracelet/wish | <=1.4.7 |
no fix listed |
Affected products
- charmbracelet wish
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h
exploit, web, mitigation, vendor-advisory, advisory
-
github.com
/charmbracelet/wish/releases/tag/v2.0.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-41589
advisory
-
github.com
/charmbracelet/wish
package
Sources
- CVE List CVE-2026-41589
- GitHub Advisory GHSA-xjvp-7243-rg9h
- NVD CVE-2026-41589
- OSV GO-2026-5762
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.