Generated remediation guidance and an executive summary. No account required.
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.
Cite this page
CVE-2021-41116. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2021-41116
Use CWE-77, Getcomposer vendor hub and Composer product page to widen CVE-2021-41116 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-40261, CVE-2024-24821 and CVE-2015-8371 for nearby disclosures in the same product family.