CVE-2025-24049 Azure Command Line Integration (CLI) Elevation of Privilege Vulnerability
An attacker can exploit command injection in Azure CLI to elevate privileges locally, requiring users to apply vendor patches.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-24049?
CVE-2025-24049 is a high-severity command injection vulnerability in Microsoft Azure CLI, published on 11 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-77
Which versions are affected by CVE-2025-24049?
1 open source package ship an affected version, including azure-cli. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
azure-cli Bitnami | All versions | 2.69.0 |
Linux distribution packages (7)
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 2.17.1-2.25.1 |
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 2.36.0-150200.9.6.1 |
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 2.58.0-150400.14.6.1 |
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 2.58.0-150400.14.6.1 |
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 2.58.0-150400.14.6.1 |
azure-cli-core openSUSE:Leap 15.6 | All versions | 2.58.0-150400.14.6.1 |
azure-cli-core openSUSE:Tumbleweed | All versions | 2.83.0-2.1 |
Products include Microsoft Azure Command-Line Interface.
How do I fix CVE-2025-24049?
Upgrade azure-cli to 2.69.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-24049 being exploited?
There is no known exploitation of CVE-2025-24049 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Azure CLI
Sources
Also known as BIT-azure-cli-2025-24049, CLEANSTART-2026-TB31974, GHSA-qjf4-cfqr-rj5j, SUSE-SU-2025:1019-1, SUSE-SU-2025:1182-1, SUSE-SU-2026:0273-1 and 1 more.