CVE-2026-41589: Vulnerability in Charm Wish

Critical. 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...

Go, CWE-22

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-xjvp-7243-rg9h
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-22
Published
18 Apr 2026
Last change
26 Oct 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Charm Wish Version 2.0.0. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • charm.land/wish/v2 Go, Affected before 2.0.1. Fixed in 2.0.1
  • github.com/charmbracelet/wish Go, Affected through 1.4.7. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related