Security mailing lists by PureSourceCode

CVE-2025-11148

CRITICAL 9.8CVSS 3.1

check-branches is vulnerable to command Injection

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.

Published
30 Sep 2025
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-77CWE-78
Also known as
GHSA-9c4g-fp4r-prrv
Sources
NVDJSONOSV GHSA-9c4g-fp4r-prrvJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm check-branches <= 0.0.19

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Sep 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.