The issue is related to the incorrect sanitization of URLs for Mercurial repositories in the root composer.json and package source download URLs. This allows specifically crafted URL values to execute code in the HgDriver if hg/Mercurial is installed on the system. The impact is mainly to services passing user input to Composer, including Packagist.org and Private Packagist, as it allows users to trigger remote code execution. The vulnerability has been patched on Packagist.org and Private Packagist within 12 hours of receiving the initial vulnerability report, and based on a review of logs, it is believed that the vulnerability was not abused by anyone.