PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-53980 charmbracelet CVE debrief

CVE-2026-53980 is a path traversal vulnerability in the git middleware of Charmbracelet's wish before version 2.0.5. Authenticated SSH users can exploit this vulnerability to escape the configured repository directory by supplying crafted repository paths. This allows them to read or write arbitrary repositories outside the intended root via git-upload-pack, git-upload-archive, or git-receive-pack. The vulnerability is caused by a flawed forward-slash-count containment check in git.Middleware().

Vendor
charmbracelet
Product
wish
CVSS
HIGH 8.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-06
Original CVE updated
2026-11-12
Advisory published
2026-11-06
Advisory updated
2026-11-12

Who should care

Defenders responsible for systems using Charmbracelet's wish before version 2.0.5, especially those exposed to authenticated SSH users, should assess their exposure and prioritize patching or mitigating this vulnerability.

Why it matters

CVE-2026-53980 is a high-severity path traversal vulnerability in Charmbracelet's wish before version 2.0.5 that allows authenticated SSH users to escape the configured repository directory. Defenders should prioritize patching or mitigating this vulnerability, especially for systems exposed to authenticated SSH users, and verify patched versions and proper configuration to prevent potential data breaches or unauthorized changes to repositories.

  • Authenticated SSH users can read or write arbitrary repositories outside the intended root
  • Potential for data breaches or unauthorized changes to repositories
  • Need to verify patched versions and ensure proper configuration
  • Possible impact on system integrity and availability

Technical summary

The vulnerability is caused by 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. This allows authenticated SSH users to escape the configured repository directory by supplying crafted repository paths. The vulnerability affects Charmbracelet's wish before version 2.0.5.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially for systems exposed to authenticated SSH users.

Recommended defensive actions

  • Patch or upgrade to version 2.0.5 or later
  • Restrict access to git-upload-pack, git-upload-archive, and git-receive-pack to only trusted users
  • Monitor repository access and changes for suspicious activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details about the vulnerability, including its description, CVSS score, and affected versions. The vulnerability is caused by 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. Defenders should verify patched versions and proper to

Sources and references

Verified primary and authoritative sources

  • CVE-2026-53980 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-53980

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-53980 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-53980

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.