CVE-2025-11148CWE-78

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…

Critical · published September 30, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
71.4
In the wild
Unconfirmed
What it is

🚨 A crafty command injection vulnerability lurks in all versions of the check-branches package! This means your git commands could be running code you never intended. 🔥 Think of it as a restaurant where the chef takes a customer's order without checking what they actually wrote down — one misspelled word could lead to a surprise dish nobody wanted! With this vulnerability, an attacker could manipulate branch names to execute arbitrary commands on your system. This could lead to data leaks, unauthorized access, or even complete system takeover. It's a recipe for chaos — and you definitely don't want that on your menu!

Put simply

Think of it as a restaurant where the chef takes a customer's order without checking what they actually wrote down — one misspelled word could lead to a surprise dish nobody wanted! The command injection flaw arises because check-branches blindly trusts branch names as input, concatenating them into git commands without proper validation. This opens the door for malicious users to inject harmful commands through branch names.

What to do

With this vulnerability, an attacker could manipulate branch names to execute arbitrary commands on your system. This could lead to data leaks, unauthorized access, or even complete system takeover. It's a recipe for chaos — and you definitely don't want that on your menu! Immediately patch to the latest secure version of check-branches. Review and sanitize user inputs, particularly around branch names, to prevent command injection. Incorporate strict validation rules in your CI processes to bolster security. This is fixable! Follow these steps, and you'll have your system secure in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01354 · 71.4th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-09-30T05:00Z
EPSS history
Timeline
  • 30 SEP 05:00Z
    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…
    cvelistv5