ADVISORIES

Vulnerability

CVE-2022-39327

Azure CLI is the command-line interface for Microsoft Azure. In versions previous to 2.40.0, Azure CLI contains a vulnerability for potential code injection. Critical scenarios are where a hosting machine runs an Azure CLI command where parameter values have been provided by an external source. The vulnerability is only applicable when the Azure CLI command is run on a Windows machine and with any version of PowerShell and when the parameter value contains the `&` or `|` symbols. If any of these prerequisites are not met, this vulnerability is not applicable. Users should upgrade to version 2.40.0 or greater to receive a a mitigation for the vulnerability.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All PyPI 2Ubuntu 1

Advisories

  • GHSA-47xc-9rr2-q7p4

    Improper Control of Generation of Code ('Code Injection') in Azure CLI

    High CVE-2022-39327 PyPI Updated 10 June 2026
  • PYSEC-2022-43177

    Azure CLI is the command-line interface for Microsoft Azure. In versions previous to 2.40.0, Azure CLI contains a vulnerability for potential code injection. Critical scenarios are where a hosting machine runs an Azure…

    CVE-2022-39327 PyPI Updated 10 June 2026
  • UBUNTU-CVE-2022-39327

    Azure CLI is the command-line interface for Microsoft Azure. In versions previous to 2.40.0, Azure CLI contains a vulnerability for potential code injection. Critical scenarios are where a hosting machine runs an Azure…

    CVE-2022-39327 Ubuntu Updated 24 October 2025

References