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

High 8.4 Published Updated

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.

PackageAffectedFixed in
azure-cli BitnamiAll versions2.69.0
Linux distribution packages (7)
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 12All versions2.17.1-2.25.1
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP3All versions2.36.0-150200.9.6.1
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.58.0-150400.14.6.1
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP5All versions2.58.0-150400.14.6.1
azure-cli-core SUSE:Linux Enterprise Module for Public Cloud 15 SP6All versions2.58.0-150400.14.6.1
azure-cli-core openSUSE:Leap 15.6All versions2.58.0-150400.14.6.1
azure-cli-core openSUSE:TumbleweedAll versions2.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.

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.

Is CVE-2025-24049 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free