CVE Explorer
CVE-2026-41589
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"wish","vendor":"charmbracelet","versions":[{"status":"affected","version":">= 2.0.0, < 2.0.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/charmbracelet/wish/releases/tag/v2.0.1","tags":["x_refsource_MISC"],"url":"https://github.com/charmbracelet/wish/releases/tag/v2.0.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/adp/0/references/0
{"name":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f44f94d9fe46046da6749176f02722b567aaa0c3f9dfb51930459820ca84853b · sha256:d48d62770ee54f18… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.