---
cve: "CVE-2026-49987"
severity: "HIGH"
cvss: 7.5
epss: "54%"
vendor: "yamadashy"
kev: false
exploited: false
published: "2026-07-15 19:17:25"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-13T17:28:48+02:00"
---

# CVE-2026-49987

> 7.5 HIGH · 🧪 PoC

## Beschreibung

Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, src/core/git/gitCommand.ts execGitShallowClone passes the --remote-branch value directly to git fetch and git checkout without validation or --end-of-options, allowing --upload-pack or other Git option injection that bypasses validateGitUrl() dangerous parameter checks and can execute commands through local or SSH-style transports. This issue is fixed in version 1.14.1.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- a7b93adfcdb11be923a9a092cceb1cb6739ef8e1 (Commit)
- 92bfa3193b5233a0d21beff929444153c088de82 (Commit)

## Referenzen

- <https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx>
- <https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82>
- <https://github.com/yamadashy/repomix/releases/tag/v1.14.1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-49987) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
