9.6

CVE-2026-41589: Wish has SCP Path Traversal that allows arbitrary file read/write

Analyzed
AliasesGHSA-xjvp-7243-rg9hGO-2026-5762
Published 07-05-2026Last modified 07-05-2026

Vulnerability summary

CVE-2026-41589 is a critical (CVSS 9.6) vulnerability in charm wish. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 33.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.6/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.39%
0%100%
Low · -0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 07-05-2026
    PublishedVulnerability first disclosed.
  2. 07-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

Decrease -0.12 pp

From 0.51% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Wish

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Charm1 product
Charm.land/wish1 product
  • v2< 2.0.1
Charmbracelet1 product
  • wish≥ 2.0.0, < 2.0.1
Github.com/charmbracelet1 product
  • wish≤ 1.4.7

4 vendors · 4 products

References

4 links