CVE-2022-21235: Vcs Project Vcs

Critical severity, CVSS 9.8. EPSS: 1.6% chance of exploitation in the next 30 days.

The package github.com/masterminds/vcs before 1.13.3 are vulnerable to Command Injection via argument injection. When hg is executed, argument strings are passed to hg in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Affected products

Published 2022-04-01. Last modified 2026-06-17.