{
  "id": "CVE-2026-49987",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49987",
  "published_at": "2026-07-15T18:06:27.018Z",
  "title": "Repomix: Command Injection (RCE) via `--remote-branch` Argument Injection",
  "vendor": "yamadashy",
  "product": "repomix",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "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": "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.",
  "cwe": "CWE-88",
  "cpes": [
    "cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yamadashy",
        "product": "repomix",
        "ranges": [
          "\u003c 1.14.1"
        ],
        "fixed_in": [
          "1.14.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade repomix to 1.14.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yamadashy/repomix/releases/tag/v1.14.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
