CVE-2026-53980

published 6 Nov 2026 · updated 12 Nov 2026

Charmbracelet Wish 2.0.5 Path Traversal via git Middleware

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.0.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
charmbracelet<2.0.52.0.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-53980 severity on Zeptric[![CVE-2026-53980](https://zeptric.io/badge/cve/CVE-2026-53980.svg)](https://zeptric.io/cve/CVE-2026-53980)