cvedb.io
CVE-2022-25865
HIGH · CVSS 8.1
EPSS exploitation probability: 0%
Published 2022-05-13T20:15:08.243 · Last modified 2026-06-17T04:34:24.830

Summary

The package workspace-tools before 0.18.4 are vulnerable to Command Injection via git argument injection. When calling the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function, both the remote and remoteBranch parameters are passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Affected products

microsoft — workspace-tools

Does this affect you?

Add your gear to cvedb and we'll alert you only when microsoft ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.