# CVE-2026-53980: Charmbracelet Wish 2.0.5 Path Traversal via git Middleware

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-11-06T14:59:40.355Z
- Modified: 2026-11-12T21:36:06.743Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- charmbracelet wish: before 2.0.5

## Every score

- VulnCheck: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/charmbracelet/wish/releases/tag/v2.0.5> (release-notes)
- <https://github.com/charmbracelet/wish/commit/533db0daa90446b0d4ae3284877179c37e0cc48e> (patch)
- <https://www.vulncheck.com/advisories/charmbracelet-wish-path-traversal-via-git-middleware> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-53980](https://www.cve.org/CVERecord?id=CVE-2026-53980), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-53980](https://nvd.nist.gov/vuln/detail/CVE-2026-53980), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-53980 · Whole record: https://cve.day/CVE-2026-53980.json · Rebuilt by cve.day 2026-11-25T22:59:49.278Z
