REDHAT-BUG-2461750: High severity npm/simple-git vulnerability

Published Apr 25, 2026
·
Updated

Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.

Affected Software

1 affected component
npm/simple-git<3.36.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade simple-git to a version that resolves this vulnerability.

    Fixed in 3.36.0
  2. Configuration

    Ensure protocol.ext.allow is NOT set to "always" (untrusted users must not be able to enable it via simple-git options, and the equivalent --config form should not be controllable by untrusted input).

    simple-git / git configuration protocol.ext.allow = always
  3. Compensating control

    Prevent untrusted input from reaching the options argument passed to simple-git (validate/allowlist inputs so attackers cannot supply protocol.ext.allow=always or an ext:: clone source).

Event History

Apr 25, 2026
Data Sourced
via Red Hat·06:01 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2461750?

The severity of REDHAT-BUG-2461750 is high, rated at 7.

2

What is the description of REDHAT-BUG-2461750?

REDHAT-BUG-2461750 relates to a Remote Code Execution vulnerability in versions of simple-git prior to 3.36.0.

3

How do I fix REDHAT-BUG-2461750?

To resolve REDHAT-BUG-2461750, upgrade the simple-git package to version 3.36.0 or later.

4

What versions are affected by REDHAT-BUG-2461750?

Versions of simple-git before 3.36.0 are vulnerable to REDHAT-BUG-2461750.

5

What type of vulnerability is REDHAT-BUG-2461750?

REDHAT-BUG-2461750 is categorized as a Remote Code Execution (RCE) vulnerability due to untrusted input.

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