{"id":"CVE-2026-53980","aliases":["CVE-2026-53980"],"related":[],"kind":"vulnerability","state":"published","title":"Charmbracelet Wish 2.0.5 Path Traversal via git Middleware","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-06T14:59:40.355Z","modified":"2026-11-12T21:36:06.743Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.0.5","status":"affected"}],"vendor":"charmbracelet","product":"wish","repo":"https://github.com/charmbracelet/wish","source":"cvelist"}],"references":[{"url":"https://github.com/charmbracelet/wish/releases/tag/v2.0.5","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/charmbracelet/wish/commit/533db0daa90446b0d4ae3284877179c37e0cc48e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/charmbracelet-wish-path-traversal-via-git-middleware","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Katriel Moses"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-06T17:30:54.304Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53980","url":"https://www.cve.org/CVERecord?id=CVE-2026-53980","licence":"CVE Terms of Use","modified":"2026-11-08T14:05:12.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53980","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53980","licence":"Public domain","modified":"2026-11-12T21:36:06.743Z"}],"updatedAt":"2026-11-25T22:59:49.278Z","epss":{"score":0.00413,"percentile":0.37684,"date":"2026-12-01T12:00:22.000Z"}}