{
  "id": "CVE-2026-41589",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41589",
  "published_at": "2026-05-07T13:17:58.717Z",
  "title": "Wish has SCP Path Traversal that allows arbitrary file read/write",
  "vendor": "charmbracelet",
  "product": "wish",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "charmbracelet",
        "product": "wish",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.0.1"
        ],
        "fixed_in": [
          "2.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wish to 2.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/charmbracelet/wish/releases/tag/v2.0.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
