Skip to main content
← All vulnerabilities
CVE-2026-41589GO-2026-5762GHSA-XJVP-7243-RG9H

Wish has SCP Path Traversal that allows arbitrary file read/write

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • charmbracelet wish

    From 2.0.0 · fixed in 2.0.1

  • charm.land/wish/v2Go

    fixed in 2.0.1

  • github.com/charmbracelet/wishGo

    through 1.4.7

References 2

GitHub · charmbracelet/wish