Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Composer, the PHP dependency manager, is vulnerable in versions from 2.0 up to but not including 2.2.24, and from 2.3 up to but not including 2.7.7. The status, reinstall and remove commands can execute code when packages installed from git sources have specially crafted branch names; the source does not state what access an attacker needs beyond that. Upgrade to Composer 2.2.24 for the 2.2 LTS line or 2.7.7 for the mainline line. Until then, the source suggests avoiding git installs by using --prefer-dist or the preferred-install: dist setting.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.8 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.011, the 64th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 10 Jun 2024, 20:54 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:05 UTC First seen by agentprime
- 31 Oct 2026, 14:05 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-47f6-5gq3-vx9c
- OSV: GHSA-47f6-5gq3-vx9c
- github.com/composer/composer/security/advisories/GHSA-47f6-5gq3-vx9c
- nvd.nist.gov/vuln/detail/CVE-2024-35241
- github.com/composer/composer/commit/b93fc6ca437da35ae73d667d0618749c763b67d4
- github.com/composer/composer/commit/ee28354ca8d33c15949ad7de2ce6656ba3f68704
- github.com/composer/composer
- lists.fedoraproject.org/archives/list/[email protected]/message/PO4MU2BC7VR6LMHEX4X7DKGHVFXZV2MC
- lists.fedoraproject.org/archives/list/[email protected]/message/VLPJHM2WWSYU2F6KHW2BYFGYL4IGTKHC
- www.vicarius.io/vsociety/posts/cve-2024-35241-detect-composer-vulnerability
- www.vicarius.io/vsociety/posts/cve-2024-35241-mitigate-vulnerable-composer