{"id":"CVE-2026-53980","published":"2026-11-06T14:59:40Z","modified":"2026-11-08T14:05:12Z","title":"Charmbracelet Wish 2.0.5 Path Traversal via git Middleware","vendor":"charmbracelet","product":"wish","tier":"tail","description":{"text":"Charmbracelet wish before 2.0.5 contains a path traversal vulnerability in the git middleware (charm.land/wish/v2) that allows authenticated SSH users to escape the configured repository directory by supplying crafted repo paths that bypass a flawed forward-slash-count containment check in git.Middleware(). Attackers can use a single-depth path ../evil, or on Windows a payload ..\\..\\evil that defeats the slash-count guard entirely, to read or write arbitrary repositories outside the intended root via git-upload-pack, git-upload-archive, or git-receive-pack.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37249,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/charmbracelet/wish/releases/tag/v2.0.5","tags":["release-notes"]},{"url":"https://github.com/charmbracelet/wish/commit/533db0daa90446b0d4ae3284877179c37e0cc48e","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/charmbracelet-wish-path-traversal-via-git-middleware","tags":["third-party-advisory"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.45},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"charmbracelet","affectedVersions":[{"vendor":"charmbracelet","product":"wish","versions":["< 2.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T17:30:54.304000Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-118276","exploited":false,"provenance":"source"}}