Skip to main content
VulnerabilityPublished

CVE-2026-41589: charmbracelet wish · Path Traversal

Affects charmbracelet wishSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.6 Critical : upgrade to 2.0.1 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade wish and github.com/charmbracelet/wish to 2.0.1.

Affected software

ProductAffectedFixed in
charmbraceletwishAffected
  • >=2.0.0 <2.0.1
Fixed in
  • 2.0.1
Gogithub.com/charmbracelet/wishpkg:golang/github.com/charmbracelet/wishOther threatsAffected
  • <2.0.1 >=2.0.0
Fixed in
  • 2.0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade charmbracelet wish to version 2.0.1 or later, where this path traversal vulnerability has been patched. Since this is a software vulnerability with an available fixed version, applying the official update is the recommended remediation. Patch status is confirmed by the vendor advisory stating the fix is included in version 2.0.1.

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.

References

Community reviews

Loading reviews…