{"id":"CVE-2025-11148","aliases":[],"url":"https://o3.security/vulnerability/CVE-2025-11148","summary":"check-branches is vulnerable to command Injection","details":"All versions of the package check-branches are vulnerable to Command Injection.\n\ncheck-branches is a command-line tool that is interacted with locally, or via CI, to confirm no conflicts exist in git branches.\n\nHowever, the library follows these conventions which can be abused:\n1. It trusts branch names as they are (plain text)\n2. It spawns git commands by concatenating user input\n\nSince 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.","published":"2025-09-30T12:30:51Z","modified":"2025-10-03T18:22:21Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"check-branches","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11148"},{"type":"WEB","url":"https://gist.github.com/lirantal/054b4ad039a86c418f2c84e3e884d6ec"},{"type":"PACKAGE","url":"https://github.com/puntorigen/check-branches"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-CHECKBRANCHES-2766494"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2025-10-03T18:22:21Z"}}