# CVE-2023-36052: Azure CLI REST Command Information Disclosure Vulnerability

> Attackers can exploit the Azure CLI REST command to disclose sensitive information from Azure App Service, Function App, and Logic App environments.

- **Severity:** High 8.6 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 Nov 2023
- **Updated:** 8 Oct 2025
- **Also known as:** BIT-azure-cli-2023-36052, GHSA-m32x-6xp4-26j2

## What is CVE-2023-36052?

CVE-2023-36052 is a high-severity vulnerability in Microsoft Azure App Service, published on 14 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Azure CLI REST Command Information Disclosure Vulnerability

Weakness: CWE-359 (Exposure of Private Personal Information to an Unauthorized Actor)

## Which versions are affected by CVE-2023-36052?

1 open source package ship an affected version, including azure-cli. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `azure-cli` | Bitnami | All versions | 2.53.1 |

Products: Microsoft Azure Command-Line Interface.

## How do I fix CVE-2023-36052?

Upgrade azure-cli to 2.53.1 or later.

## Is CVE-2023-36052 being exploited?

There is no known exploitation of CVE-2023-36052 in the wild and no public exploit code.

## Other vulnerabilities in Microsoft Azure App Service

- [CVE-2024-43591](https://insights.sbomify.com/CVE-2024-43591/): Azure Command Line Integration (CLI) Elevation of Privilege Vulnerability (high 8.7)
- [CVE-2025-24049](https://insights.sbomify.com/CVE-2025-24049/): Azure Command Line Integration (CLI) Elevation of Privilege Vulnerability (high 8.4)
- [CVE-2022-39327](https://insights.sbomify.com/CVE-2022-39327/): Improper Control of Generation of Code ('Code Injection') in Azure CLI (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-36052 and fix it if it is affected.

What it is: CVE-2023-36052 is a high-severity vulnerability in Microsoft Azure App Service, published on 14 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-36052 in the wild and no public exploit code.

Affected packages and fixed versions:
- azure-cli (Bitnami): affected all versions; fixed in 2.53.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-36052/ (Markdown: https://insights.sbomify.com/CVE-2023-36052/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-36052
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-36052
- OSV: https://osv.dev/vulnerability/CVE-2023-36052

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-36052/
Summaries are generated and may contain mistakes; the official description above is the record.
