Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the getPath function.
{
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2023-01-13T21:33:18Z",
"nvd_published_at": "2023-01-13T05:15:00Z",
"severity": "CRITICAL"
}