PT-2023-12824 · Unknown · Simple-Git

·

CVE-2022-25860

·

Published

2023-01-24

·

Updated

2026-05-13

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions simple-git versions prior to 3.16.0
Description The issue is related to Remote Code Execution (RCE) due to improper input sanitization in the clone(), pull(), push(), and listRemote() methods. This vulnerability exists because of an incomplete fix of a previous issue.
Recommendations For versions prior to 3.16.0, update to version 3.16.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the clone(), pull(), push(), and listRemote() methods until the update is applied.

Exploit

Fix

OS Command Injection

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-25860
GHSA-9W5J-4MWV-2WJ8
GHSA-JCXM-M3JX-F287

Affected Products

Simple-Git