# CVE-2021-41116: Command injection in composer on Windows

- Priority: **Routine**
- Reason: Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-05 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-41116, openSUSE-SU-2024:11617-1, openSUSE-SU-2024:11874-1, ALPINE-CVE-2021-41116
- Record: https://cvemate.com/vulnerability/CVE-2021-41116 · JSON: https://cvemate.com/vulnerability/CVE-2021-41116/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.825%, percentile 87.04%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine composer (Alpine Linux): ≥ 2.0.0, \< 2.1.9-r0
- composer composer: \< 1.10.23 \| ≥ 2.0, \< 2.1.9
- ubuntu composer (Ubuntu): All versions (No fix recorded)
- getcomposer composer: \< 1.10.23 \| ≥ 2.0.0, \< 2.1.9
- opensuse php-composer2&distro=openSUSE Tumbleweed (openSUSE): \< 2.1.12-1.1
- opensuse php-composer&distro=openSUSE Tumbleweed (openSUSE): \< 1.10.25-1.1
- tenable tenable.sc: \< 5.21.0

## References

- <https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf>
- <https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa>
- <https://www.sonarsource.com/blog/securing-developer-tools-package-managers/>
- <https://ubuntu.com/security/CVE-2021-41116>
- <https://www.cve.org/CVERecord?id=CVE-2021-41116>
- <https://www.suse.com/security/cve/CVE-2021-41116>
- <https://security.alpinelinux.org/vuln/CVE-2021-41116>

---

Data as of 2026-12-05T06:04:27.395Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
