CVE-2025-24049: Azure Command Line Integration (CLI) Elevation of Privilege Vulnerability

Overview

Severity
High (CVSS 8.4)
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Category
Elevation of Privilege
Exploit Status
Not Exploited
Exploitation Likelihood
Less Likely
Patch Tuesday
2025-Mar
Released
2025-03-11
EPSS Score
0.23% (percentile: 45.8%)

Description

Improper neutralization of special elements used in a command ('command injection') in Azure Command Line Integration (CLI) allows an unauthorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? The attacker would gain the rights of the user that is running the affected application. How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by passing a specially crafted key-value argument to Azure CLI, injecting arbitrary Python code that modifies runtime behavior.

Affected Products (1)

Azure

  • Azure CLI

Security Updates (1)

Acknowledgments

<a href="https://jackfromeast.github.io/">Zhengyu Liu</a> and <a href="https://www.linkedin.com/in/gavin-zhong/">Jiacheng(Gavin) Zhong</a> with <a href="https://isi.jhu.edu/">Johns Hopkins University</a>, <a href="https://jackfromeast.github.io/">Zhengyu Liu</a> with <a href="https://www.cs.jhu.edu/">Johns Hopkins University</a>, <a href="https://www.linkedin.com/in/gavin-zhong/">Jiacheng(Gavin) Zhong</a> with <a href="https://isi.jhu.edu/">Johns Hopkins University</a>

Revision History

  • 2025-03-11: Information published.