Read the docs
TI-2026-85938 Aliases CVE-2026-53980GHSA-6g36-8q6x-8384

Path traversal in Charmbracelet Wish git middleware

Priority MEDIUM 40CWE-22Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0042 36th percentileScored 2026-11-07
Fix Fixed wish (charmbracelet): 2.0.5

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

VendorProductAffected versionsFixed inStatusSource
charmbraceletwishbefore 2.0.52.0.5Patch availableCNA
  • 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

  1. 2026-11-06 Threatist record created from CVE-2026-53980
  2. 2026-11-06 Alias added: GHSA-6g36-8q6x-8384
  3. 2026-11-06 CISA SSVC decision points changed
  4. 2026-11-06 Priority changed: MEDIUM → LOW
  5. 2026-11-08 Priority changed: LOW → MEDIUM

References

  • 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
See all 13 →

Sources