Composer
Vendor:
First CVE: Apr 27, 2021 · Active for 5 years
9
Total CVEs
More Total CVEs than 86% of tracked products
1.5
Avg CVEs / Year
Higher CVE frequency than 56% of tracked products
8.2
Avg CVSS
Higher Avg CVSS than 72% of tracked products
0.0%
KEV Rate
Bottom 1%
Trends Over Time
The number and severity of CVEs published that impact Composer over time
Volume of CVEsAvg CVSS Base Score
First CVE
Apr 27, 2021
5 years ago
Most Recent CVE
Apr 15, 2026
100 days ago
CVE Severity & Scoring
Composer9 CVEs
11%
78%
11%
All CVEs352,294 CVEs
45%
40%
11%
MediumHighCritical
Attack Vector
Local2 (22.2%)
Network7 (77.8%)
Unknown0 (0.0%)
Physical0 (0.0%)
Adjacent Network0 (0.0%)
Attack Complexity
Low9 (100.0%)
High0 (0.0%)
Unknown0 (0.0%)
User Interaction
None5 (55.6%)
Unknown0 (0.0%)
Required4 (44.4%)
Privileges Required
Low4 (44.4%)
High0 (0.0%)
None5 (55.6%)
Unknown0 (0.0%)
Top CVEs
Signals from CVEs in this product scope (9 CVEs).
9 CVEs · Highest risk first
| CVE | Published | CVSS | Risk | KEV | Exploit |
|---|---|---|---|---|---|
CVE-2026-40261HIGH Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::syncCodeBase() method, which | Apr 15, 2026 | 8.8 | 37 | NO | NO |
CVE-2026-40176HIGH Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::generateP4Command() method, w | Apr 15, 2026 | 7.8 | 34 | NO | NO |
CVE-2021-41116CRITICAL Composer is an open source dependency manager for the PHP language. In affected versions windows users running Composer to install untrusted dependencies are subject to command inj | Oct 5, 2021 | 9.8 | 33 | NO | NO |
CVE-2021-29472HIGH Composer is a dependency manager for PHP. URLs for Mercurial repositories in the root composer.json and package source download URLs are not sanitized correctly. Specifically craft | Apr 27, 2021 | 8.8 | 29 | NO | NO |
CVE-2022-24828HIGH Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call `VcsDriver::getFileContent` can have a code injection vulnerability if th | Apr 13, 2022 | 8.8 | 28 | NO | NO |
CVE-2024-24821HIGH Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in t | Feb 9, 2024 | 7.8 | 26 | NO | NO |
CVE-2023-43655HIGH Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to | Sep 29, 2023 | 8.8 | 26 | NO | NO |
CVE-2015-8371HIGH Composer before 2016-02-10 allows cache poisoning from other projects built on the same host. This results in attacker-controlled code entering a server-side build process. The iss | Sep 21, 2023 | 8.8 | 25 | NO | NO |
CVE-2025-67746MEDIUM Composer is a dependency manager for PHP. In versions on the 2.x branch prior to 2.2.26 and 2.9.3, attackers controlling remote sources that Composer downloads from might in some w | Dec 30, 2025 | 4.3 | 20 | NO | NO |
Exploit Exposure
Signals from CVEs in this product scope (9 CVEs).
CISA KEV
0 CVEs
0.0% of CVEs· Bottom 1%
Metasploit
0 CVEs
0.0% of CVEs· Bottom 1%
Nuclei
0 CVEs
0.0% of CVEs· Bottom 1%
ExploitDB
0 CVEs
0.0% of CVEs· Bottom 1%
Social Chatter
Signals from CVEs in this product scope (9 CVEs).
Media Mentions
Signals from CVEs in this product scope (9 CVEs).
Top CNAs Publishing CVEs For Composer
Top CWEs
Versions
| Version | CVE Count | Avg CVSS | Avg EPSS | KEV | Exploits |
|---|---|---|---|---|---|
| 1.0.0 | 1 | 8.8 | 0.7% | 0 | 0 |