CVE-2021-41116: Getcomposer Composer

Critical severity, CVSS 9.8. EPSS: 2.8% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Getcomposer Composer, before 1.10.23: fixed in 1.10.23
  • Getcomposer Composer, from 2.0.0, before 2.1.9: fixed in 2.1.9
  • Tenable Tenable.sc, before 5.21.0: fixed in 5.21.0

Affected products

Affected packages

Published 2021-10-05. Last modified 2026-06-17.