CVE-2025-11148 check-branches is vulnerable to command Injection
CriticalCVSS 9.8
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
However, the library follows these conventions which can be abused:
- It trusts branch names as they are (plain text)
- It spawns git commands by concatenating user input
Since 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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm check-branches(npm) | <= 0.0.19 | after 0.0.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm check-branches(npm) | <= 0.0.19 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- gist.github.com
- security.snyk.io
- github.com
- github.com product