All reports
High

Improper escaping of command arguments on Windows leading to command injection

Affected versions

Version ranges need review.

Affected versions
< 1.10.23
Fixed version
1.10.23
Affected versions
>=2.0.0-alpha1,<2.1.9|<1.10.23
Fixed version
Not reported
Affected versions
>= 2.0.0-alpha1, < 2.1.9
Fixed version
2.1.9

Exploitation

CVE-2021-41116

Probability of exploitation in the next 30 days: 2.83%

FIRST EPSS · 2026-11-18

Description

Impact

Windows users running Composer to install untrusted dependencies are affected and should definitely upgrade for safety. Other OSs and WSL are not affected.

Patches

1.10.23 and 2.1.9 fix the issue

Workarounds

None

Links

Credits

  • paul-gerste-sonarsource