ADVISORIES

Vulnerability

CVE-2022-21235

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity Go 2

Advisories

  • GHSA-6635-c626-vj4r

    Command Injection Vulnerability with Mercurial in VCS

    Critical CVE-2022-21235 Go Updated 10 September 2026
  • GO-2022-0414

    Command injection in github.com/Masterminds/vcs

    CVE-2022-21235 Go Updated 16 March 2026

References