Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
charmbracelet wish
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Charmbracelet 的 wish 项目(2.0.5 版本之前)在 git 中间件(charm.land/wish/v2)中存在路径遍历漏洞。该漏洞允许已认证的 SSH 用户通过提供精心构造的仓库路径,绕过 git.Middleware() 中基于前向斜杠计数的缺陷防护机制,从而逃逸出配置的仓库目录。攻击者可利用单级路径 ,或在 Windows 系统上使用负载 ,完全绕过斜杠计数防护,进而通过 git-upload-pack、git-upload-archive 或 git-receive-pack 命令读取

CVSS 8.1 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53980

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Charmbracelet Wish 2.0.5 Path Traversal via git Middleware
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
charmbracelet wish 0 ~ 2.0.5 -

II. Public POCs for CVE-2026-53980

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53980

请登录查看更多情报信息。

Other References for CVE-2026-53980 (3)

IV. Related Vulnerabilities