CVE-2022-21187: Libvcs Project Libvcs

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

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.

Affected products

Published 2022-03-14. Last modified 2026-06-17.