ADVISORIES

Vulnerability

CVE-2022-21187

The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some hg options it was possible to get arbitrary command execution.

3 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 3

Advisories in PyPI

  • GHSA-mv2w-4jqc-6fg4

    Command injection in libvcs and vcspull

    Critical CVE-2022-21187 PyPI Updated 29 June 2026
  • PYSEC-2022-163

    The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some…

    CVE-2022-21187 PyPI Updated 29 June 2026
  • PYSEC-2026-563

    Command injection in libvcs and vcspull

    CVE-2022-21187 PyPI Updated 1 July 2026

References