{
  "id": "CVE-2026-53980",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53980",
  "published_at": "2026-11-06T14:59:40.355Z",
  "title": "Charmbracelet Wish 2.0.5 Path Traversal via git Middleware",
  "vendor": "charmbracelet",
  "product": "wish",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "charmbracelet",
        "product": "wish",
        "ranges": [
          "\u003c 2.0.5"
        ],
        "fixed_in": [
          "2.0.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wish to 2.0.5 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/charmbracelet/wish/releases/tag/v2.0.5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/charmbracelet/wish/commit/533db0daa90446b0d4ae3284877179c37e0cc48e"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
