OS command injection in check-branches
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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: 1. It trusts branch names as they are (plain text) 2. 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | check-branches | all versions | — | No fix listed | CNA |
| — | check-branches (npm) | up to 0.0.19 | — | No fix listed | GHSA-9c4g-fp4r-prrv |
- check-branches Vendor— Affected all versions Fixed in — No fix listed CNA
- check-branches (npm) Vendor— Affected up to 0.0.19 Fixed in — No fix listed GHSA-9c4g-fp4r-prrv
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-11148
- 2026-10-03 Alias added: GHSA-9c4g-fp4r-prrv
References
Sources
- CVE-2025-11148 · CVE Program
- CVE-2025-11148 · NVD
- FIRST EPSS
- GHSA-9c4g-fp4r-prrv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences