CVE-2021-41116
8.2 HIGHComposer is an open source dependency manager for the PHP language
Published: 2021-10-05 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 8.2 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CWE
- CWE-77
Affected products
| Vendor | Product |
|---|---|
| getcomposer | composer, tenable.sc |
| tenable | composer, tenable.sc |
Description
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 injection and should upgrade their composer version. Other OSs and WSL are not affected. The issue has been resolved in composer versions 1.10.23 and 2.1.9. There are no workarounds for this issue.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-41116
- [Patch]https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
- [Other]https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf
- [Other]https://www.sonarsource.com/blog/securing-developer-tools-package-managers/
- [Patch]https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
- [Other]https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf
- [Other]https://www.sonarsource.com/blog/securing-developer-tools-package-managers/
Related CVEs
Same vendor
- CVE-2026-47358 — Terrascan v1.18.3 and prior are vulnerable to Server-Side Request Forgery (SSRF) via external URL resolution in uploaded IaC templates wh... (7.5 HIGH)
- CVE-2026-47357 — Terrascan v1.18.3 and prior are vulnerable to Server-Side Request Forgery (SSRF) via the remote_url parameter in the remote directory sca... (7.5 HIGH)
- CVE-2026-47356 — Terrascan v1.18.3 and prior are vulnerable to Server-Side Request Forgery (SSRF) via the webhook_url parameter in the file scan endpoint ... (7.5 HIGH)
- CVE-2022-0778 — The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli (7.5 HIGH)
- CVE-2021-41184 — jQuery-UI is the official jQuery user interface library (6.5 MEDIUM)
Same CWE
- CVE-2024-24909 — Dell OpenManage Integration with Microsoft Windows Admin Center contains a Remote Code Execution vulnerability in the gateway plugin (8.8 HIGH)
- CVE-2025-56814 — A code injection vulnerability in the wxExecute() function of OpenCPN v5.12.0 allows attackers to execute arbitrary code via embedding sh... (7.8 HIGH)
- CVE-2026-12223 — A vulnerability was identified in Yealink SIP-T46U 108.86.0.118 (5.5 MEDIUM)
- CVE-2026-12219 — A flaw has been found in Yealink SIP-T46U 108.86.0.118 (6.3 MEDIUM)
- CVE-2026-12197 — A security flaw has been discovered in Ruijie EG105G-P 2.340 (7.2 HIGH)