{
  "id": "CVE-2025-11148",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-11148",
  "published_at": "2025-09-30T05:00:06.332Z",
  "product": "check-branches",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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": "All versions of the package check-branches are vulnerable to Command Injection check-branches is a command-line tool that is interacted with locally, or via CI, to confirm no conflicts exist in git branches.\r\rHowever, the library follows these conventions which can be abused:\r1. It trusts branch names as they are (plain text)\r2. It spawns git commands by concatenating user input\r\rSince a branch name is potentially a user input - as users can create branches remotely via pull requests, or simply due to privileged access to a repository - it can effectively be abused to run any command.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "check-branches",
        "ranges": [
          "\u003c *"
        ],
        "fixed_in": [
          "*"
        ]
      }
    ],
    "upgrade": [
      "Upgrade check-branches to * or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
