Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Composer versions before 1.10.23 and from 2.0.0-alpha1 before 2.1.9 are vulnerable on Windows, where improper escaping of command arguments can allow command injection. An attacker who can supply untrusted dependencies for Composer to install could run commands on the affected system. Upgrade to 1.10.23 or 2.1.9; the source lists no workarounds. Other operating systems and WSL are not affected.
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.2 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.028, the 86th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 5 Oct 2021, 07:54 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-frqg-7g38-6gcf
- OSV: GHSA-frqg-7g38-6gcf
- github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf
- nvd.nist.gov/vuln/detail/CVE-2021-41116
- github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
- github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2021-41116.yaml
- github.com/composer/composer
- www.sonarsource.com/blog/securing-developer-tools-package-managers
- www.tenable.com/security/tns-2022-09