CVE-2026-41589

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.

Severity
CRITICAL
CVSS v3
9.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N · source cna
Exploit chance (EPSS)
0.393%
chance of exploitation in the next 30 days
higher than 34.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-05-07

Timeline

  1. 2026-04-18GitHub advisory published (GHSA-xjvp-7243-rg9h)19 days before publication
  2. 2026-05-07Published by the CNA13:17 UTC
  3. 2026-05-07CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-xjvp-7243-rg9h, affected packages:

PackageVulnerable versionsFixed in
Go charm.land/wish/v2before 2.0.12.0.1
Go github.com/charmbracelet/wishthrough 1.4.7

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
charm wish2.0.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources