CVE-2026-53980
Charmbracelet Wish 2.0.5 Path Traversal via git Middleware
CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | charmbracelet |
| Product | wish |
| Published | Nov 6, 2026 |
Stay Ahead of the Next One
Get instant alerts for charmbracelet wish
Be the first to know when new high vulnerabilities affecting charmbracelet wish are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
charmbracelet / wish
0 < 2.0.5
References
Credits
Katriel Moses