CVE-2025-11148: OS Command Injection

Published Sep 30, 2025
·
Updated

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.

Other sources

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.

GitHub

Affected Software

2 affected components
check-branches check-branches<=
npm/check-branches<=0.0.19

Event History

Sep 30, 2025
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:37 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-11148?

CVE-2025-11148 is classified as a high severity vulnerability due to potential command injection risks.

2

How do I fix CVE-2025-11148?

To fix CVE-2025-11148, upgrade to the latest version of the check-branches package which addresses this vulnerability.

3

What types of systems are affected by CVE-2025-11148?

CVE-2025-11148 affects all versions of the check-branches package used in command-line tools and CI environments.

4

What is the impact of CVE-2025-11148 on my applications?

Applications using the vulnerable version of check-branches may allow attackers to execute arbitrary commands through crafted branch names.

5

Is my data at risk due to CVE-2025-11148?

Yes, CVE-2025-11148 could potentially compromise data integrity by allowing remote command execution, impacting sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203