HIGH
charmbracelet
CVE published 2026-11-06
CVE-2026-53980
CVE-2026-53980 is a path traversal vulnerability in the git middleware of Charmbracelet's wish before version 2.0.5. Authenticated SSH users can exploit this vulnerability to escape the configured repository directory by supplying crafted repository paths. This allows them to read or write arbitrary repositories outside the intended root via git-upload-pack, git-upload-archive, or git-receive-pack. The vulnerability is caused by a flawed forward-slash-count containment check in git.Middleware().