Path traversal in Charmbracelet Wish git middleware
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Charmbracelet Wish from 0 before 2.0.5 contains a path traversal flaw in its git middleware (CWE-22). A flawed containment check lets crafted repository paths escape the configured repository directory. A remote authenticated SSH user with low privileges can read or write repositories outside the intended root.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| charmbracelet | wish | before 2.0.5 | 2.0.5 | Patch available | CNA |
- wish Vendorcharmbracelet Affected before 2.0.5 Fixed in 2.0.5 Patch available CNA
Remediation
Upgrade Charmbracelet Wish to version 2.0.5, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA wish (charmbracelet) Fixed in 2.0.5
Timeline
- 2026-11-06 Threatist record created from CVE-2026-53980
- 2026-11-06 Alias added: GHSA-6g36-8q6x-8384
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 Priority changed: MEDIUM → LOW
- 2026-11-08 Priority changed: LOW → MEDIUM
References
Patch 1
Other 1
More charmbracelet vulnerabilities
- TI-2026-30142 Wish has SCP Path Traversal that allows arbitrary file read/write CVSS 3.1CRITICAL 9.6
- TI-2026-23661 Soft Serve: SSRF via unvalidated LFS endpoint in repo import CVSS 3.1CRITICAL 9.1
- TI-2025-39912 Soft Serve is vulnerable to SSRF through its Webhooks CVSS 3.1CRITICAL 9.1
- TI-2023-23497 Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled CVSS 3.1HIGH 7.5
- TI-2026-25759 Soft Serve: Authenticated repo import can clone server-local private repositories CVSS 4.0HIGH 7.1
- TI-2025-36144 Soft Serve is vulnerable to arbitrary file writing through its SSH API CVSS 3.1HIGH 7.7
Sources
- CVE-2026-53980 · CVE Program
- CVE-2026-53980 · NVD
- FIRST EPSS
- GHSA-6g36-8q6x-8384 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences