Advisory record · GHSA-h5h8-pc6h-jvvx

Composer's missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with Mercurial

CVSS 8.8 HighEPSS 0.048 · 92nd percentile

Published by the GitHub Advisory Database at 29 Apr 2021, 21:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
composer/composerPackagist<1.10.22 || >=2.0.0-alpha1, <2.0.131.10.22, 2.0.13
Identifiers
GHSA-h5h8-pc6h-jvvx · BIT-composer-2021-29472 · CVE-2021-29472 · PKSA-9p8h-97x3-qxpm
Weakness (CWE)
CWE-88 · CWE-94
Published
29 Apr 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Composer versions from 2.0.0-alpha1 before 2.0.13 and before 1.10.22 are vulnerable. Mercurial repository URLs in the root composer.json and package source download URLs are not sanitized, so a specially crafted URL can execute commands through the Mercurial driver when hg is installed. Services that pass user input to Composer, such as Packagist-style hosts, are most at risk; upgrade composer/composer to 1.10.22 or 2.0.13.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.048, the 92nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Apr 2021, 11:17 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:25 UTC First seen by agentprime
  3. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.