Advisory record · GHSA-jm6m-4632-36hf

Composer Remote Code Execution vulnerability via web-accessible composer.phar

CVSS 6.4 MediumEPSS 0.015 · 75th percentile

Published by the GitHub Advisory Database at 29 Sept 2023, 20:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
composer/composerPackagist<1.10.27 || >=2.0.0, <2.2.22 || >=2.3.0, <2.6.41.10.27, 2.2.22, 2.6.4
Identifiers
GHSA-jm6m-4632-36hf · BIT-composer-2023-43655 · CVE-2023-43655 · PKSA-m1ph-vmbx-2xd3
Weakness (CWE)
CWE-74
Published
29 Sept 2023
Updated
13 Feb 2025

Machine-written summary

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

Composer versions before 1.10.27, from 2.0.0 before 2.2.22, and from 2.3.0 before 2.6.4 are vulnerable when a composer.phar file is published on a public web server where it can be run as PHP and PHP has register_argc_argv enabled. An attacker who can request that file can potentially execute code on the server. Upgrade to 1.10.27, 2.2.22, or 2.6.4 depending on your release line. As a workaround, disable register_argc_argv in php.ini and do not publish composer.phar to the web.

Written 4 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
6.4 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.015, the 75th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 29 Sept 2023, 08:56 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:27 UTC First seen by agentprime
  3. 31 Oct 2026, 14:27 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.