CVE-2022-25860
simple-git < 3.16.0 - Remote Code Execution
highImproper Control of Generation of Code ('Code Injection')
8.1
CVSS Score
8.1
CVSS Score
high
Severity
2.7.4
Patched in
877d
Time to patch
Description
The package simple-git is vulnerable to Remote Code Execution in versions before 3.16.0 via the clone(), pull(), push() and listRemote() methods due to improper input sanitization. This is due to an incomplete fix of CVE-2022-25912. WordPress plugins and themes may be using this package, however, they may not be vulnerable to exploitation.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<=2.7.3PublishedFebruary 23, 2023
Last updatedJuly 18, 2025
Affected pluginsimple-local-avatars
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.