VDB
KO
HIGH 8.1

PYSEC-2026-563

Command injection in libvcs and vcspull

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / vcspull
Introduced in: 0 Fixed in: 1.11.1
Fix pip install --upgrade 'vcspull>=1.11.1'

References