Path Traversal in Charmbracelet Wish
CVE-2026-53980
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- Patch Commit (patch)
- wish 2.0.5 Release Notes (release-notes)
- VulnCheck Advisory: Charmbracelet Wish 2.0.5 Path Traversal via git Middleware (third-party-advisory)
Frequently asked questions
- What is CVE-2026-53980?
- CVE-2026-53980 is a high-severity vulnerability in Charmbracelet Wish, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-11-06.
- How severe is CVE-2026-53980?
- High severity. CVSS v3 base score is 8.1 out of 10.