CVE-2022-21235

published 1 Apr 2022 · updated 18 Feb 2026

Command Injection

8.1HighCVSS 8.1EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.13.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<1.13.31.13.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21235 severity on Zeptric[![CVE-2022-21235](https://zeptric.io/badge/cve/CVE-2022-21235.svg)](https://zeptric.io/cve/CVE-2022-21235)