ADVISORIES

Vulnerability

CVE-2021-41116

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.

7 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • ALPINE-CVE-2021-41116

    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…

    CVE-2021-41116 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-41116
    CVE-2021-41116 Alpine Updated 18 November 2026
  • GHSA-frqg-7g38-6gcf

    Improper escaping of command arguments on Windows leading to command injection

    High CVE-2021-41116 Packagist Updated 8 July 2026
  • UBUNTU-CVE-2021-41116

    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…

    CVE-2021-41116 Ubuntu Updated 8 September 2025
  • openSUSE-SU-2022:0132-1

    Security update for php-composer

    CVE-2021-41116CVE-2022-24828 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11617-1

    php-composer2-2.1.12-1.1 on GA media

    CVE-2021-41116 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:11874-1

    php-composer-1.10.25-1.1 on GA media

    CVE-2021-41116 openSUSE Updated 4 February 2026

References