# CVE-2021-41116: Improper escaping of command arguments on Windows leading to command injection

Source: https://junglewise.ai/threats/cve-2021-41116-improper-escaping-of-command-arguments-on-windows-leading-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-10-05  
License: CC BY 4.0 with a link back

CVE-2021-41116 · Severity: low · CVSS 3.1 · Published 2021-10-05

Improper escaping of command arguments on Windows leading to command injection

Technologies: [composer/composer (Packagist)](https://junglewise.ai/threats/technologies/composer-composer). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-41116 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-41116 being exploited in the wild.

**How severe is CVE-2021-41116?** Low severity, with a CVSS score of 3.1, published 5 October 2021.

**Which products and versions are affected?** composer/composer (Packagist) ECOSYSTEM:introduced=0,fixed=1.10.23.

**Is there a fix for CVE-2021-41116?** Yes. composer/composer (Packagist): upgrade to 1.10.23 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-41116?** Check whether you run composer/composer (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- composer/composer (Packagist): upgrade to 1.10.23 or later

  ```sh
  composer require composer/composer:^1.10.23
  ```


## Affected products

- composer/composer (Packagist) ECOSYSTEM:introduced=0,fixed=1.10.23

## Identifiers

- CVE-2021-41116
- GHSA-frqg-7g38-6gcf

## Related threats

- [Composer bin path validation bypass via symlinks](https://junglewise.ai/threats/cve-2026-59944-composer-bin-path-validation-bypass-via-symlinks)
- [Composer arbitrary command execution via malicious Perforce source URL](https://junglewise.ai/threats/cve-2026-84361-composer-arbitrary-command-execution-via-malicious-perforce)
- [Composer sensitive information disclosure in GitHub token validation](https://junglewise.ai/threats/cve-2026-45793-composer-sensitive-information-disclosure-in-github-token)
- [Composer path traversal via malicious package name](https://junglewise.ai/threats/cve-2026-59948-composer-path-traversal-via-malicious-package-name)
- [Composer sensitive information disclosure in verbose debug output](https://junglewise.ai/threats/cve-2026-59947-composer-sensitive-information-disclosure-in-verbose-debug-output)
